TT#104400 further update for kernels >= 4.19.158

Change-Id: I79e8427c73b38c8fb5cc9e17f3b1886572f13a4f
pull/1130/head
Richard Fuchs 5 years ago
parent c2c7f9a506
commit 9a2dc5cb3a

@ -3452,7 +3452,8 @@ static int send_proxy_packet6(struct sk_buff *skb, struct re_address *src, struc
skb->protocol = htons(ETH_P_IPV6);
#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 (ip6_route_me_harder(par->state->net, par->state->sk, skb))
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4,10,0)
if (ip6_route_me_harder(par->state->net, skb))

Loading…
Cancel
Save