aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.8/655-increase_skb_pad.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-01-08 22:19:31 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-01-08 22:19:31 +0000
commit8dbed04ec9cad7771590af557b9edfe8e04bca8c (patch)
tree412beb5055a726a8f371c35580bdc85300e4e2f7 /target/linux/generic/patches-3.8/655-increase_skb_pad.patch
parentc38cb63808ff1a395dd0384af23773b044adf9cb (diff)
downloadupstream-8dbed04ec9cad7771590af557b9edfe8e04bca8c.tar.gz
upstream-8dbed04ec9cad7771590af557b9edfe8e04bca8c.tar.bz2
upstream-8dbed04ec9cad7771590af557b9edfe8e04bca8c.zip
kernel: add support for 3.8-rc2
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 35055
Diffstat (limited to 'target/linux/generic/patches-3.8/655-increase_skb_pad.patch')
-rw-r--r--target/linux/generic/patches-3.8/655-increase_skb_pad.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.8/655-increase_skb_pad.patch b/target/linux/generic/patches-3.8/655-increase_skb_pad.patch
new file mode 100644
index 0000000000..e65ae0d461
--- /dev/null
+++ b/target/linux/generic/patches-3.8/655-increase_skb_pad.patch
@@ -0,0 +1,11 @@
+--- a/include/linux/skbuff.h
++++ b/include/linux/skbuff.h
+@@ -1722,7 +1722,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);