diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-07-16 01:46:42 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-07-29 10:14:15 +0200 |
commit | f04dae170525ad46f7db2c5fcbb14f5369a6e125 (patch) | |
tree | 26b6fe5516dd890e527a9e92b327fc8f3000e3bb | |
parent | d553aa7c52ac78c1963886afb74ba861b0b7b0fc (diff) |
compat: rhel 8.3 beta removed nf_nat_core.h
Reported-by: Vladimir Benes <vbenes@redhat.com>
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 ea6d624..9e2801b 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -942,7 +942,7 @@ static inline int skb_ensure_writable(struct sk_buff *skb, int write_len) #include <net/ipv6.h> #include <net/icmp.h> #include <net/netfilter/nf_conntrack.h> -#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 1, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 1, 0) && !defined(ISRHEL8) #include <net/netfilter/nf_nat_core.h> #endif static inline void __compat_icmp_ndo_send(struct sk_buff *skb_in, int type, int code, __be32 info) |