Skip to content

Commit 122f06b

Browse files
committed
compat: icmp_ndo_send functions were backported extensively
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
1 parent 6e36d32 commit 122f06b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compat/compat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ static inline int skb_ensure_writable(struct sk_buff *skb, int write_len)
932932
}
933933
#endif
934934

935-
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 6, 0)
935+
#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 6, 0) && LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0)) || (LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 102) && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 20, 0)) || (LINUX_VERSION_CODE < KERNEL_VERSION(4, 19, 178) && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)) || (LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 223) && LINUX_VERSION_CODE > KERNEL_VERSION(4, 10, 0)) || LINUX_VERSION_CODE < KERNEL_VERSION(4, 9, 259) || defined(ISRHEL8) || defined(ISUBUNTU1804)
936936
#include <linux/icmpv6.h>
937937
#include <net/icmp.h>
938938
#if IS_ENABLED(CONFIG_NF_NAT)

0 commit comments

Comments
 (0)