aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/dec/tulip/xircom_cb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/dec/tulip/xircom_cb.c')
-rw-r--r--drivers/net/ethernet/dec/tulip/xircom_cb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/dec/tulip/xircom_cb.c b/drivers/net/ethernet/dec/tulip/xircom_cb.c
index b7c73eefb54b..fdb329fe6e8e 100644
--- a/drivers/net/ethernet/dec/tulip/xircom_cb.c
+++ b/drivers/net/ethernet/dec/tulip/xircom_cb.c
@@ -1084,7 +1084,7 @@ investigate_read_descriptor(struct net_device *dev, struct xircom_private *card,
1084 pkt_len = 1518; 1084 pkt_len = 1518;
1085 } 1085 }
1086 1086
1087 skb = dev_alloc_skb(pkt_len + 2); 1087 skb = netdev_alloc_skb(dev, pkt_len + 2);
1088 if (skb == NULL) { 1088 if (skb == NULL) {
1089 dev->stats.rx_dropped++; 1089 dev->stats.rx_dropped++;
1090 goto out; 1090 goto out;