diff options
author | Luis Ressel <aranea@aixah.de> | 2020-02-15 14:33:44 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-02-15 20:30:09 +0100 |
commit | 27ce49e385a87cb784368a0995f8284fd6887d8c (patch) | |
tree | f7ae6b7ddb161b60787ef070880b9161c4229664 /src/compat/compat.h | |
parent | d05a993b76af758b4bd998999aea633d30e88ce4 (diff) |
compat: RHEL 7 backported skb_ensure_writable()
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.h | 2 |
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) { |