diff options
Diffstat (limited to 'drivers/net/ethernet/dec/tulip/dmfe.c')
-rw-r--r-- | drivers/net/ethernet/dec/tulip/dmfe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/dec/tulip/dmfe.c b/drivers/net/ethernet/dec/tulip/dmfe.c index 5ad9e3e3c0b8..53f0c618045c 100644 --- a/drivers/net/ethernet/dec/tulip/dmfe.c +++ b/drivers/net/ethernet/dec/tulip/dmfe.c | |||
@@ -696,7 +696,7 @@ static netdev_tx_t dmfe_start_xmit(struct sk_buff *skb, | |||
696 | /* Too large packet check */ | 696 | /* Too large packet check */ |
697 | if (skb->len > MAX_PACKET_SIZE) { | 697 | if (skb->len > MAX_PACKET_SIZE) { |
698 | pr_err("big packet = %d\n", (u16)skb->len); | 698 | pr_err("big packet = %d\n", (u16)skb->len); |
699 | dev_kfree_skb(skb); | 699 | dev_kfree_skb_any(skb); |
700 | return NETDEV_TX_OK; | 700 | return NETDEV_TX_OK; |
701 | } | 701 | } |
702 | 702 | ||
@@ -743,7 +743,7 @@ static netdev_tx_t dmfe_start_xmit(struct sk_buff *skb, | |||
743 | dw32(DCR7, db->cr7_data); | 743 | dw32(DCR7, db->cr7_data); |
744 | 744 | ||
745 | /* free this SKB */ | 745 | /* free this SKB */ |
746 | dev_kfree_skb(skb); | 746 | dev_consume_skb_any(skb); |
747 | 747 | ||
748 | return NETDEV_TX_OK; | 748 | return NETDEV_TX_OK; |
749 | } | 749 | } |