TT#104400 further update for kernels >= 4.19.158

closes #1129

Change-Id: Ifb363cadacce784684f632182529c5a1a3f33cda
(cherry picked from commit 2c35e699a1)
mr8.5.3
Richard Fuchs 5 years ago
parent ce9473db9e
commit 022a6a1a82

@ -3352,7 +3352,8 @@ static int send_proxy_packet4(struct sk_buff *skb, struct re_address *src, struc
skb->protocol = htons(ETH_P_IP);
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,9,9) || \
(LINUX_VERSION_CODE >= KERNEL_VERSION(5,4,78) && LINUX_VERSION_CODE < KERNEL_VERSION(5,5,0))
(LINUX_VERSION_CODE >= KERNEL_VERSION(5,4,78) && LINUX_VERSION_CODE < KERNEL_VERSION(5,5,0)) || \
(LINUX_VERSION_CODE >= KERNEL_VERSION(4,19,158) && LINUX_VERSION_CODE < KERNEL_VERSION(4,20,0))
if (ip_route_me_harder(par->state->net, par->state->sk, skb, RTN_UNSPEC))
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4,10,0)
if (ip_route_me_harder(par->state->net, skb, RTN_UNSPEC))

Loading…
Cancel
Save