mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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:
parent
b7f4d80fbc
commit
e461316405
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user