wireguard: compat: Remove skb_mark_not_on_list

Already added in 4263e32f284dd23341770573709e6e9bd16998da ("UPSTREAM: net: use skb_list_del_init() to remove from RX sublists")
This commit is contained in:
Adithya R 2022-10-01 23:55:36 +05:30
parent b7f4d80fbc
commit e461316405

View File

@ -839,13 +839,6 @@ static __always_inline void old_rcu_barrier(void)
#define COMPAT_CANNOT_DEPRECIATE_BH_RCU
#endif
#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;
}
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 20, 0) && !defined(ISRHEL8)
#include <net/netlink.h>
#ifndef NLA_POLICY_EXACT_LEN