1 --- a/net/core/skbuff.c
2 +++ b/net/core/skbuff.c
3 @@ -214,6 +214,9 @@ struct sk_buff *__alloc_skb(unsigned int
5 if (sk_memalloc_socks() && (flags & SKB_ALLOC_RX))
6 gfp_mask |= __GFP_MEMALLOC;
7 +#ifdef CONFIG_ARCH_IXP4XX
12 skb = kmem_cache_alloc_node(cache, gfp_mask & ~__GFP_DMA, node);
13 @@ -1194,6 +1197,10 @@ int pskb_expand_head(struct sk_buff *skb
17 +#ifdef CONFIG_ARCH_IXP4XX
18 + gfp_mask |= GFP_DMA;
21 size = SKB_DATA_ALIGN(size);
23 if (skb_pfmemalloc(skb))