aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ixp4xx/patches-3.3/600-skb_avoid_dmabounce.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-07-03 17:51:44 +0000
committerJonas Gorski <jogo@openwrt.org>2013-07-03 17:51:44 +0000
commita3a701aee78c83256c6609001f68af77accb6e5d (patch)
tree0084984d4a1a146ca4025bdd87b585dd2e299607 /target/linux/ixp4xx/patches-3.3/600-skb_avoid_dmabounce.patch
parent426c0e060b520e066fe5aaddcee9d5917b390f2f (diff)
downloadmaster-187ad058-a3a701aee78c83256c6609001f68af77accb6e5d.tar.gz
master-187ad058-a3a701aee78c83256c6609001f68af77accb6e5d.tar.bz2
master-187ad058-a3a701aee78c83256c6609001f68af77accb6e5d.zip
ixp4xx: switch to kernel 3.10
Fixes network issues at least on NSLU2 (#13801). Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37153 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx/patches-3.3/600-skb_avoid_dmabounce.patch')
-rw-r--r--target/linux/ixp4xx/patches-3.3/600-skb_avoid_dmabounce.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/target/linux/ixp4xx/patches-3.3/600-skb_avoid_dmabounce.patch b/target/linux/ixp4xx/patches-3.3/600-skb_avoid_dmabounce.patch
deleted file mode 100644
index 625b76897a..0000000000
--- a/target/linux/ixp4xx/patches-3.3/600-skb_avoid_dmabounce.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- a/net/core/skbuff.c
-+++ b/net/core/skbuff.c
-@@ -177,6 +177,10 @@ struct sk_buff *__alloc_skb(unsigned int
- struct sk_buff *skb;
- u8 *data;
-
-+#ifdef CONFIG_ARCH_IXP4XX
-+ gfp_mask |= GFP_DMA;
-+#endif
-+
- cache = fclone ? skbuff_fclone_cache : skbuff_head_cache;
-
- /* Get the HEAD */
-@@ -946,6 +950,10 @@ int pskb_expand_head(struct sk_buff *skb
- if (skb_shared(skb))
- BUG();
-
-+#ifdef CONFIG_ARCH_IXP4XX
-+ gfp_mask |= GFP_DMA;
-+#endif
-+
- size = SKB_DATA_ALIGN(size);
-
- /* Check if we can avoid taking references on fragments if we own