diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-03-07 08:14:33 -0700 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-03-07 08:14:33 -0700 |
commit | 122f06bfd8fc7b06a0899fa9adc4ce8e06900d98 (patch) | |
tree | 5feab430bce107623d1129c44e6dbb77e9576d80 | |
parent | 6e36d328018f8b525b0de0649453f222035ad1d8 (diff) |
compat: icmp_ndo_send functions were backported extensively
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | src/compat/compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h index 3e8e005..0227204 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -932,7 +932,7 @@ static inline int skb_ensure_writable(struct sk_buff *skb, int write_len) } #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 6, 0) +#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) #include <linux/icmpv6.h> #include <net/icmp.h> #if IS_ENABLED(CONFIG_NF_NAT) |