diff options
-rw-r--r-- | drivers/net/tulip/de2104x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tulip/de2104x.c b/drivers/net/tulip/de2104x.c index 6299e186c73f..e3dd144d326b 100644 --- a/drivers/net/tulip/de2104x.c +++ b/drivers/net/tulip/de2104x.c | |||
@@ -1327,11 +1327,11 @@ static void de_clean_rings (struct de_private *de) | |||
1327 | struct sk_buff *skb = de->tx_skb[i].skb; | 1327 | struct sk_buff *skb = de->tx_skb[i].skb; |
1328 | if ((skb) && (skb != DE_DUMMY_SKB)) { | 1328 | if ((skb) && (skb != DE_DUMMY_SKB)) { |
1329 | if (skb != DE_SETUP_SKB) { | 1329 | if (skb != DE_SETUP_SKB) { |
1330 | dev_kfree_skb(skb); | ||
1331 | de->net_stats.tx_dropped++; | 1330 | de->net_stats.tx_dropped++; |
1332 | pci_unmap_single(de->pdev, | 1331 | pci_unmap_single(de->pdev, |
1333 | de->tx_skb[i].mapping, | 1332 | de->tx_skb[i].mapping, |
1334 | skb->len, PCI_DMA_TODEVICE); | 1333 | skb->len, PCI_DMA_TODEVICE); |
1334 | dev_kfree_skb(skb); | ||
1335 | } else { | 1335 | } else { |
1336 | pci_unmap_single(de->pdev, | 1336 | pci_unmap_single(de->pdev, |
1337 | de->tx_skb[i].mapping, | 1337 | de->tx_skb[i].mapping, |