From 022a6a1a82027d1ea1c2b017eff3e7db934a933a Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 7 Dec 2020 11:03:07 -0500 Subject: [PATCH] TT#104400 further update for kernels >= 4.19.158 closes #1129 Change-Id: Ifb363cadacce784684f632182529c5a1a3f33cda (cherry picked from commit 2c35e699a15e3a3f161e1d09a176bfe348c04d36) --- kernel-module/xt_RTPENGINE.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel-module/xt_RTPENGINE.c b/kernel-module/xt_RTPENGINE.c index 3c5e3a892..8d746e318 100644 --- a/kernel-module/xt_RTPENGINE.c +++ b/kernel-module/xt_RTPENGINE.c @@ -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))