diff options
author | Thadeu Lima de Souza Cascardo <cascardo@canonical.com> | 2021-02-18 14:01:32 -0300 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2021-07-23 02:43:42 +0300 |
commit | fdcbedc97d89ae13f81fe6bc4a5fdb1decb68a06 (patch) | |
tree | b9ff2bad1f1e1e8010abd484361abb34560bbe82 /drivers/net/wireguard/compat/compat.h | |
parent | dc31242cd9e3614a6f286a62dc9e10964b46be87 (diff) |
compat: skb_mark_not_on_list will be backported to Ubuntu 18.04
linux commit 22f6bbb7bcfcef0b373b0502a7ff390275c575dd ("net: use
skb_list_del_init() to remove from RX sublists") will be backported to Ubuntu
18.04 default kernel, which is based on linux 4.15.
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Change-Id: Ib10df4441e52ce85a4285f41253f2d08dd955a07
Diffstat (limited to 'drivers/net/wireguard/compat/compat.h')
-rw-r--r-- | drivers/net/wireguard/compat/compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireguard/compat/compat.h b/drivers/net/wireguard/compat/compat.h index c1b77d99e817..78e942dec084 100644 --- a/drivers/net/wireguard/compat/compat.h +++ b/drivers/net/wireguard/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) && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0) && !defined(ISRHEL8)) || LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 217) +#if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 19, 10) && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0) && !defined(ISRHEL8) && !defined(ISUBUNTU1804)) || LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 217) static inline void skb_mark_not_on_list(struct sk_buff *skb) { skb->next = NULL; |