diff options
Diffstat (limited to 'drivers/net/ethernet/i825xx/lp486e.c')
-rw-r--r-- | drivers/net/ethernet/i825xx/lp486e.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/i825xx/lp486e.c b/drivers/net/ethernet/i825xx/lp486e.c index 02df5f5accb1..6c2952c8ea15 100644 --- a/drivers/net/ethernet/i825xx/lp486e.c +++ b/drivers/net/ethernet/i825xx/lp486e.c | |||
@@ -656,7 +656,7 @@ i596_rx_one(struct net_device *dev, struct i596_private *lp, | |||
656 | if (rfd->stat & RFD_STAT_OK) { | 656 | if (rfd->stat & RFD_STAT_OK) { |
657 | /* a good frame */ | 657 | /* a good frame */ |
658 | int pkt_len = (rfd->count & 0x3fff); | 658 | int pkt_len = (rfd->count & 0x3fff); |
659 | struct sk_buff *skb = dev_alloc_skb(pkt_len); | 659 | struct sk_buff *skb = netdev_alloc_skb(dev, pkt_len); |
660 | 660 | ||
661 | (*frames)++; | 661 | (*frames)++; |
662 | 662 | ||