diff options
Diffstat (limited to 'drivers/net/ethernet/i825xx/ether1.c')
-rw-r--r-- | drivers/net/ethernet/i825xx/ether1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/i825xx/ether1.c b/drivers/net/ethernet/i825xx/ether1.c index 42e90a97c7a5..406a12b46404 100644 --- a/drivers/net/ethernet/i825xx/ether1.c +++ b/drivers/net/ethernet/i825xx/ether1.c | |||
@@ -867,7 +867,7 @@ ether1_recv_done (struct net_device *dev) | |||
867 | struct sk_buff *skb; | 867 | struct sk_buff *skb; |
868 | 868 | ||
869 | length = (length + 1) & ~1; | 869 | length = (length + 1) & ~1; |
870 | skb = dev_alloc_skb (length + 2); | 870 | skb = netdev_alloc_skb(dev, length + 2); |
871 | 871 | ||
872 | if (skb) { | 872 | if (skb) { |
873 | skb_reserve (skb, 2); | 873 | skb_reserve (skb, 2); |