ANDROID: GKI: add vendor padding variable in struct skb_shared_info

Some vendors want to add things to 'struct skb_shared_info', so give
them an array to place their data.

Bug: 171013716
Change-Id: Ia0024e3e8de89f4ef335fa26208ec6c45abafb22
Signed-off-by: Aditya Agrawal <aditya.a1@samsung.com>
This commit is contained in:
Aditya Agrawal
2024-03-21 13:34:17 +05:30
committed by Treehugger Robot
parent 080d098013
commit 31abc2fa05
+3
View File
@@ -38,6 +38,7 @@
#include <net/net_debug.h>
#include <net/dropreason-core.h>
#include <net/netmem.h>
#include <linux/android_vendor.h>
/**
* DOC: skb checksums
@@ -613,6 +614,8 @@ struct skb_shared_info {
* remains valid until skb destructor */
void * destructor_arg;
ANDROID_OEM_DATA_ARRAY(1, 3);
/* must be last field, see pskb_expand_head() */
skb_frag_t frags[MAX_SKB_FRAGS];
};