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 Signed-off-by: Vignesh Saravanaperumal <vignesh1.s@samsung.com> Change-Id: Ia0024e3e8de89f4ef335fa26208ec6c45abafb22
This commit is contained in:
parent
f45d12df24
commit
3c55aa6ffe
|
@ -41,6 +41,8 @@
|
||||||
#if IS_ENABLED(CONFIG_NF_CONNTRACK)
|
#if IS_ENABLED(CONFIG_NF_CONNTRACK)
|
||||||
#include <linux/netfilter/nf_conntrack_common.h>
|
#include <linux/netfilter/nf_conntrack_common.h>
|
||||||
#endif
|
#endif
|
||||||
|
#include <linux/android_kabi.h>
|
||||||
|
#include <linux/android_vendor.h>
|
||||||
|
|
||||||
/* The interface for checksum offload between the stack and networking drivers
|
/* The interface for checksum offload between the stack and networking drivers
|
||||||
* is as follows...
|
* is as follows...
|
||||||
|
@ -537,6 +539,8 @@ struct skb_shared_info {
|
||||||
* remains valid until skb destructor */
|
* remains valid until skb destructor */
|
||||||
void * destructor_arg;
|
void * destructor_arg;
|
||||||
|
|
||||||
|
ANDROID_OEM_DATA_ARRAY(1, 3);
|
||||||
|
|
||||||
/* must be last field, see pskb_expand_head() */
|
/* must be last field, see pskb_expand_head() */
|
||||||
skb_frag_t frags[MAX_SKB_FRAGS];
|
skb_frag_t frags[MAX_SKB_FRAGS];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue