source: trunk/target/linux/brcm47xx/patches-2.6.32/813-use_netdev_alloc_skb.patch @ 19062

Last change on this file since 19062 was 19062, checked in by mb, 6 years ago

bcm47xx: Add basic 2.6.32 support.

File size: 332 bytes
  • drivers/net/b44.c

    a b static int b44_rx(struct b44 *bp, int bu 
    815815                        struct sk_buff *copy_skb; 
    816816 
    817817                        b44_recycle_rx(bp, cons, bp->rx_prod); 
    818                         copy_skb = dev_alloc_skb(len + 2); 
     818                        copy_skb = netdev_alloc_skb(bp->dev, len + 2); 
    819819                        if (copy_skb == NULL) 
    820820                                goto drop_it_no_recycle; 
    821821 
Note: See TracBrowser for help on using the repository browser.