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

Submitted by Andrey Ryabinin on Sept. 10, 2018, 3:39 p.m.

Details

Message ID 20180910153940.22827-3-aryabinin@virtuozzo.com
State New
Series "Backort of "Handle multiple received packets at each stage""
Headers show

Commit Message

Andrey Ryabinin Sept. 10, 2018, 3:39 p.m.
->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@virtuozzo.com>
---
 include/linux/skbuff.h | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

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;