diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-01-24 14:09:09 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-01-24 14:09:09 +0100 |
commit | 1bb90881971c226d45c0abd1ac16ce3d6b77fc5f (patch) | |
tree | 51b39dc61d24fd4e2ff4dff461fbb75e7210e76c | |
parent | d6d5caa4f16f0fb9dcadca58e6adf5160f13acbd (diff) |
compat: skb_mark_not_on_list was backported to 4.14
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 2636f0d..edc0502 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -823,7 +823,7 @@ static __always_inline void old_rcu_barrier(void) #define COMPAT_CANNOT_DEPRECIATE_BH_RCU #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 19, 10) && !defined(ISRHEL8) +#if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 19, 10) && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0) && !defined(ISRHEL8)) || LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 217) static inline void skb_mark_not_on_list(struct sk_buff *skb) { skb->next = NULL; |