|
|
|
@ -522,7 +522,7 @@ Signed-off-by: Biwen Li <biwen.li@nxp.com>
|
|
|
|
|
}
|
|
|
|
|
--- a/net/core/skbuff.c
|
|
|
|
|
+++ b/net/core/skbuff.c
|
|
|
|
|
@@ -799,6 +799,32 @@ void napi_consume_skb(struct sk_buff *sk
|
|
|
|
|
@@ -803,6 +803,32 @@ void napi_consume_skb(struct sk_buff *sk
|
|
|
|
|
}
|
|
|
|
|
EXPORT_SYMBOL(napi_consume_skb);
|
|
|
|
|
|
|
|
|
@ -555,7 +555,7 @@ Signed-off-by: Biwen Li <biwen.li@nxp.com>
|
|
|
|
|
/* Make sure a field is enclosed inside headers_start/headers_end section */
|
|
|
|
|
#define CHECK_SKB_FIELD(field) \
|
|
|
|
|
BUILD_BUG_ON(offsetof(struct sk_buff, field) < \
|
|
|
|
|
@@ -1318,7 +1344,7 @@ static void skb_headers_offset_update(st
|
|
|
|
|
@@ -1322,7 +1348,7 @@ static void skb_headers_offset_update(st
|
|
|
|
|
skb->inner_mac_header += off;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -564,7 +564,7 @@ Signed-off-by: Biwen Li <biwen.li@nxp.com>
|
|
|
|
|
{
|
|
|
|
|
__copy_skb_header(new, old);
|
|
|
|
|
|
|
|
|
|
@@ -1326,6 +1352,7 @@ static void copy_skb_header(struct sk_bu
|
|
|
|
|
@@ -1330,6 +1356,7 @@ static void copy_skb_header(struct sk_bu
|
|
|
|
|
skb_shinfo(new)->gso_segs = skb_shinfo(old)->gso_segs;
|
|
|
|
|
skb_shinfo(new)->gso_type = skb_shinfo(old)->gso_type;
|
|
|
|
|
}
|
|
|
|
|