Fix skb_reset_redirect() backport version check. Upstream commit 2c64605b590edadb3fb46d1ec6badb49e940b479 got backported in stable 5.5.14 and 5.4.29, so we need to adjust the version check. Signed-off-by: Thomas Backlund --- a/net/wireguard/compat/compat.h +++ b/net/wireguard/compat/compat.h @@ -1024,7 +1024,7 @@ out: #define COMPAT_CANNOT_USE_MAX_MTU #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 6, 0) +#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 5, 14) && LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0)) || LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 29) #include static inline void skb_reset_redirect(struct sk_buff *skb) {