Skip to contentSkip to conversation

compat: skb_mark_not_on_list will be backported to Ubuntu 18.04

PATCH Applied Thadeu Lima de Souza Cascardo 2 participants 2 messages Feb 18, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 src/compat/compat.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/compat/compat.h +1 -1
index c1b77d99e817..78e942dec084 100644
@@ -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;
Signature · 1 line
2.27.0