aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/compat/compat.h
diff options
context:
space:
mode:
authorLuis Ressel <aranea@aixah.de>2020-02-15 14:33:44 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-02-15 20:30:09 +0100
commit27ce49e385a87cb784368a0995f8284fd6887d8c (patch)
treef7ae6b7ddb161b60787ef070880b9161c4229664 /src/compat/compat.h
parentversion: bump (diff)
downloadwireguard-linux-compat-master.tar.xz
wireguard-linux-compat-master.zip
compat: RHEL 7 backported skb_ensure_writable()HEADmaster
Reported-by: chotaire <chotaire@chotaire.net> Signed-off-by: Luis Ressel <aranea@aixah.de> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/compat/compat.h')
-rw-r--r--src/compat/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h
index 0d109be..1aa0e7b 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -932,7 +932,7 @@ static inline void skb_mark_not_on_list(struct sk_buff *skb)
#define chacha20_neon zinc_chacha20_neon
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 19, 0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 19, 0) && !defined(ISRHEL7)
#include <linux/skbuff.h>
static inline int skb_ensure_writable(struct sk_buff *skb, int write_len)
{