source: trunk/target/linux/brcm47xx/patches-2.6.33/813-use_netdev_alloc_skb.patch @ 21265

Last change on this file since 21265 was 21265, checked in by acoul, 7 years ago

brcm47xx: refresh 2.6.33 kernel patches

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

    a b static int b44_rx(struct b44 *bp, int bu 
    848848                        struct sk_buff *copy_skb; 
    849849 
    850850                        b44_recycle_rx(bp, cons, bp->rx_prod); 
    851                         copy_skb = dev_alloc_skb(len + 2); 
     851                        copy_skb = netdev_alloc_skb(bp->dev, len + 2); 
    852852                        if (copy_skb == NULL) 
    853853                                goto drop_it_no_recycle; 
    854854 
Note: See TracBrowser for help on using the repository browser.