[Devel] [PATCH rh7 02/11] net/skbuff: Add ->list to struct sk_buff;

Andrey Ryabinin aryabinin at virtuozzo.com
Mon Sep 10 18:39:31 MSK 2018


->list added into struct sk_buff in upstream by the commit
d4546c2509b1 ("net: Convert GRO SKB handling to list_head.")
It seems should be fine to backport only addition of the ->list field
without the rest of the patch which we don't need.

The ->list field needed for backport of
2d1b138505dc ("Handle multiple received packets at each stage")
series

https://jira.sw.ru/browse/PSBM-88420
Signed-off-by: Andrey Ryabinin <aryabinin at virtuozzo.com>
---
 include/linux/skbuff.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 14d472922617..1cbfddd1c002 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -684,6 +684,7 @@ struct sk_buff {
 			};
 		};
 		struct rb_node	rbnode; /* used in netem & tcp stack */
+		struct list_head list;
 	};
 #endif
 	struct sock		*sk;
-- 
2.16.4



More information about the Devel mailing list