diff options
Diffstat (limited to 'drivers/net/ethernet/i825xx/lib82596.c')
-rw-r--r-- | drivers/net/ethernet/i825xx/lib82596.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/i825xx/lib82596.c b/drivers/net/ethernet/i825xx/lib82596.c index 17fca323c143..c984998b34a0 100644 --- a/drivers/net/ethernet/i825xx/lib82596.c +++ b/drivers/net/ethernet/i825xx/lib82596.c | |||
@@ -993,7 +993,7 @@ static int i596_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
993 | dev->name)); | 993 | dev->name)); |
994 | dev->stats.tx_dropped++; | 994 | dev->stats.tx_dropped++; |
995 | 995 | ||
996 | dev_kfree_skb(skb); | 996 | dev_kfree_skb_any(skb); |
997 | } else { | 997 | } else { |
998 | if (++lp->next_tx_cmd == TX_RING_SIZE) | 998 | if (++lp->next_tx_cmd == TX_RING_SIZE) |
999 | lp->next_tx_cmd = 0; | 999 | lp->next_tx_cmd = 0; |