|
|
@@ -56,7 +56,7 @@ Signed-off-by: Felix Fietkau <[email protected]>
|
|
|
*/
|
|
|
--- a/include/linux/skbuff.h
|
|
|
+++ b/include/linux/skbuff.h
|
|
|
-@@ -2679,6 +2679,10 @@ static inline int pskb_trim(struct sk_bu
|
|
|
+@@ -2684,6 +2684,10 @@ static inline int pskb_trim(struct sk_bu
|
|
|
return (len < skb->len) ? __pskb_trim(skb, len) : 0;
|
|
|
}
|
|
|
|
|
|
@@ -67,7 +67,7 @@ Signed-off-by: Felix Fietkau <[email protected]>
|
|
|
/**
|
|
|
* pskb_trim_unique - remove end from a paged unique (not cloned) buffer
|
|
|
* @skb: buffer to alter
|
|
|
-@@ -2810,16 +2814,6 @@ static inline struct sk_buff *dev_alloc_
|
|
|
+@@ -2815,16 +2819,6 @@ static inline struct sk_buff *dev_alloc_
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -136,7 +136,7 @@ Signed-off-by: Felix Fietkau <[email protected]>
|
|
|
|
|
|
#include <net/protocol.h>
|
|
|
#include <net/dst.h>
|
|
|
-@@ -540,6 +541,22 @@ skb_fail:
|
|
|
+@@ -545,6 +546,22 @@ skb_fail:
|
|
|
}
|
|
|
EXPORT_SYMBOL(__napi_alloc_skb);
|
|
|
|