summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.9/655-increase_skb_pad.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-03-14 14:45:56 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-03-14 14:45:56 +0000
commit05ea13b746e715f03c70e29068b650a62e5e5d79 (patch)
tree08d6be7813310be182259388518215a17afcc18c /target/linux/generic/patches-3.9/655-increase_skb_pad.patch
parent54d0b82f17bde2e67b8a2b58c1cb3e9ba294e9b7 (diff)
kernel: add support for 3.9-rc2
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36008 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-3.9/655-increase_skb_pad.patch')
-rw-r--r--target/linux/generic/patches-3.9/655-increase_skb_pad.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.9/655-increase_skb_pad.patch b/target/linux/generic/patches-3.9/655-increase_skb_pad.patch
new file mode 100644
index 000000000..66be04f06
--- /dev/null
+++ b/target/linux/generic/patches-3.9/655-increase_skb_pad.patch
@@ -0,0 +1,11 @@
+--- a/include/linux/skbuff.h
++++ b/include/linux/skbuff.h
+@@ -1751,7 +1751,7 @@ static inline int pskb_network_may_pull(
+ * NET_IP_ALIGN(2) + ethernet_header(14) + IP_header(20/40) + ports(8)
+ */
+ #ifndef NET_SKB_PAD
+-#define NET_SKB_PAD max(32, L1_CACHE_BYTES)
++#define NET_SKB_PAD max(48, L1_CACHE_BYTES)
+ #endif
+
+ extern int ___pskb_trim(struct sk_buff *skb, unsigned int len);