diff options
Diffstat (limited to 'drivers/net/ethernet/dec/tulip/uli526x.c')
-rw-r--r-- | drivers/net/ethernet/dec/tulip/uli526x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/dec/tulip/uli526x.c b/drivers/net/ethernet/dec/tulip/uli526x.c index aa4ee385091f..aa801a6af7b9 100644 --- a/drivers/net/ethernet/dec/tulip/uli526x.c +++ b/drivers/net/ethernet/dec/tulip/uli526x.c | |||
@@ -607,7 +607,7 @@ static netdev_tx_t uli526x_start_xmit(struct sk_buff *skb, | |||
607 | /* Too large packet check */ | 607 | /* Too large packet check */ |
608 | if (skb->len > MAX_PACKET_SIZE) { | 608 | if (skb->len > MAX_PACKET_SIZE) { |
609 | netdev_err(dev, "big packet = %d\n", (u16)skb->len); | 609 | netdev_err(dev, "big packet = %d\n", (u16)skb->len); |
610 | dev_kfree_skb(skb); | 610 | dev_kfree_skb_any(skb); |
611 | return NETDEV_TX_OK; | 611 | return NETDEV_TX_OK; |
612 | } | 612 | } |
613 | 613 | ||
@@ -648,7 +648,7 @@ static netdev_tx_t uli526x_start_xmit(struct sk_buff *skb, | |||
648 | uw32(DCR7, db->cr7_data); | 648 | uw32(DCR7, db->cr7_data); |
649 | 649 | ||
650 | /* free this SKB */ | 650 | /* free this SKB */ |
651 | dev_kfree_skb(skb); | 651 | dev_consume_skb_any(skb); |
652 | 652 | ||
653 | return NETDEV_TX_OK; | 653 | return NETDEV_TX_OK; |
654 | } | 654 | } |