Skip to content

Commit 1bb9088

Browse files
committed
compat: skb_mark_not_on_list was backported to 4.14
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
1 parent d6d5caa commit 1bb9088

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compat/compat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ static __always_inline void old_rcu_barrier(void)
823823
#define COMPAT_CANNOT_DEPRECIATE_BH_RCU
824824
#endif
825825

826-
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 19, 10) && !defined(ISRHEL8)
826+
#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)
827827
static inline void skb_mark_not_on_list(struct sk_buff *skb)
828828
{
829829
skb->next = NULL;

0 commit comments

Comments
 (0)