diff options
Diffstat (limited to 'drivers/net/ethernet/sis/sis900.c')
-rw-r--r-- | drivers/net/ethernet/sis/sis900.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sis/sis900.c b/drivers/net/ethernet/sis/sis900.c index ff57a46388ee..6072f093e6b4 100644 --- a/drivers/net/ethernet/sis/sis900.c +++ b/drivers/net/ethernet/sis/sis900.c | |||
@@ -1614,7 +1614,7 @@ sis900_start_xmit(struct sk_buff *skb, struct net_device *net_dev) | |||
1614 | skb->data, skb->len, PCI_DMA_TODEVICE); | 1614 | skb->data, skb->len, PCI_DMA_TODEVICE); |
1615 | if (unlikely(pci_dma_mapping_error(sis_priv->pci_dev, | 1615 | if (unlikely(pci_dma_mapping_error(sis_priv->pci_dev, |
1616 | sis_priv->tx_ring[entry].bufptr))) { | 1616 | sis_priv->tx_ring[entry].bufptr))) { |
1617 | dev_kfree_skb(skb); | 1617 | dev_kfree_skb_any(skb); |
1618 | sis_priv->tx_skbuff[entry] = NULL; | 1618 | sis_priv->tx_skbuff[entry] = NULL; |
1619 | net_dev->stats.tx_dropped++; | 1619 | net_dev->stats.tx_dropped++; |
1620 | spin_unlock_irqrestore(&sis_priv->lock, flags); | 1620 | spin_unlock_irqrestore(&sis_priv->lock, flags); |