diff options
Diffstat (limited to 'community/wireguard-lts/hack-5.4.29.patch')
-rw-r--r-- | community/wireguard-lts/hack-5.4.29.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/community/wireguard-lts/hack-5.4.29.patch b/community/wireguard-lts/hack-5.4.29.patch new file mode 100644 index 0000000000..255b8847d6 --- /dev/null +++ b/community/wireguard-lts/hack-5.4.29.patch @@ -0,0 +1,20 @@ +diff --git a/src/compat/compat.h b/src/compat/compat.h +index fe2d07e..7f23283 100644 +--- a/src/compat/compat.h ++++ b/src/compat/compat.h +@@ -1024,15 +1024,6 @@ out: + #define COMPAT_CANNOT_USE_MAX_MTU + #endif + +-#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 6, 0) +-#include <linux/skbuff.h> +-static inline void skb_reset_redirect(struct sk_buff *skb) +-{ +-#ifdef CONFIG_NET_SCHED +- skb_reset_tc(skb); +-#endif +-} +-#endif + + #if defined(ISUBUNTU1604) + #include <linux/siphash.h> |