aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ixp4xx/patches-3.18/600-skb_avoid_dmabounce.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2017-01-02 15:45:46 +0100
committerJohn Crispin <john@phrozen.org>2017-01-02 21:06:13 +0100
commit91dab059183dfaf3d662ff57e10923ac4272b785 (patch)
treecbc8fba2a3b806322e26e34162b241a0bf9c8c3d /target/linux/ixp4xx/patches-3.18/600-skb_avoid_dmabounce.patch
parent8c822ec4ca7557563370aa568c034edda81e6b6e (diff)
downloadupstream-91dab059183dfaf3d662ff57e10923ac4272b785.tar.gz
upstream-91dab059183dfaf3d662ff57e10923ac4272b785.tar.bz2
upstream-91dab059183dfaf3d662ff57e10923ac4272b785.zip
ixp4xx: drop 3.18 config/patches
the default has been 4.4 for a while now Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/ixp4xx/patches-3.18/600-skb_avoid_dmabounce.patch')
-rw-r--r--target/linux/ixp4xx/patches-3.18/600-skb_avoid_dmabounce.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/target/linux/ixp4xx/patches-3.18/600-skb_avoid_dmabounce.patch b/target/linux/ixp4xx/patches-3.18/600-skb_avoid_dmabounce.patch
deleted file mode 100644
index 65b1c1f51e..0000000000
--- a/target/linux/ixp4xx/patches-3.18/600-skb_avoid_dmabounce.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- a/net/core/skbuff.c
-+++ b/net/core/skbuff.c
-@@ -210,6 +210,9 @@ struct sk_buff *__alloc_skb(unsigned int
-
- if (sk_memalloc_socks() && (flags & SKB_ALLOC_RX))
- gfp_mask |= __GFP_MEMALLOC;
-+#ifdef CONFIG_ARCH_IXP4XX
-+ gfp_mask |= GFP_DMA;
-+#endif
-
- /* Get the HEAD */
- skb = kmem_cache_alloc_node(cache, gfp_mask & ~__GFP_DMA, node);
-@@ -1096,6 +1099,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);
-
- if (skb_pfmemalloc(skb))