aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/i825xx/sun3_82586.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/i825xx/sun3_82586.c')
-rw-r--r--drivers/net/ethernet/i825xx/sun3_82586.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/i825xx/sun3_82586.c b/drivers/net/ethernet/i825xx/sun3_82586.c
index 296cf8a0ee51..cae17f4bc93e 100644
--- a/drivers/net/ethernet/i825xx/sun3_82586.c
+++ b/drivers/net/ethernet/i825xx/sun3_82586.c
@@ -778,7 +778,7 @@ static void sun3_82586_rcv_int(struct net_device *dev)
778 { 778 {
779 totlen &= RBD_MASK; /* length of this frame */ 779 totlen &= RBD_MASK; /* length of this frame */
780 rbd->status = 0; 780 rbd->status = 0;
781 skb = (struct sk_buff *) dev_alloc_skb(totlen+2); 781 skb = netdev_alloc_skb(dev, totlen + 2);
782 if(skb != NULL) 782 if(skb != NULL)
783 { 783 {
784 skb_reserve(skb,2); 784 skb_reserve(skb,2);