source: trunk/target/linux/ixp4xx/patches-2.6.35/600-skb_avoid_dmabounce.patch @ 21835

Last change on this file since 21835 was 21835, checked in by acoul, 6 years ago

ixp4xx: port 600-skb_avoid_dmabounce.patch to 2.6.33 & 2.6.35

File size: 330 bytes
  • net/core/skbuff.c

    a b struct sk_buff *__alloc_skb(unsigned int 
    183183                goto out; 
    184184        prefetchw(skb); 
    185185 
     186#ifdef CONFIG_ARCH_IXP4XX  
     187        gfp_mask |= GFP_DMA; 
     188#endif 
     189 
    186190        size = SKB_DATA_ALIGN(size); 
    187191        data = kmalloc_node_track_caller(size + sizeof(struct skb_shared_info), 
    188192                        gfp_mask, node); 
Note: See TracBrowser for help on using the repository browser.