Skip to contentSkip to conversation

queueing: skb_reset_redirect change has been backported to 5.[45]

PATCH In review Christian Hesse 2 participants 2 messages Apr 1, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 queueing: skb_reset_redirect change has been backported to 5.[45]

From: Christian Hesse <[email protected]>

This is a follow up to 2d4fa2a6e7903ec3340f1b075456cbd84ba6a744.

Upstream commit 2c64605b590edadb3fb46d1ec6badb49e940b479 has been backported to 5.4.29 and 5.5.14.

---
 src/compat/compat.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
src/compat/compat.h +2 -1
index fe2d07e..7f16332 100644
@@ -1024,7 +1024,8 @@ out:
 #define COMPAT_CANNOT_USE_MAX_MTU
 #endif
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 6, 0)
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 29) || \
+    (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0) && LINUX_VERSION_CODE < KERNEL_VERSION(5, 5, 14)))
 #include <linux/skbuff.h>
 static inline void skb_reset_redirect(struct sk_buff *skb)
 {