summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/hp
diff options
context:
space:
mode:
authorRick Jones <rick.jones2@hp.com>2014-09-08 19:31:32 +0400
committerDavid S. Miller <davem@davemloft.net>2014-09-09 02:39:58 +0400
commit119eccd5e7f6fcded9db6b7aa14f5f459d2a22ba (patch)
tree8787ccb31ed47e67dc74a3271ff70a2978922df6 /drivers/net/ethernet/hp
parent1e701f16982a9d15488a5aa8c7f5c41444b1de67 (diff)
downloadlinux-119eccd5e7f6fcded9db6b7aa14f5f459d2a22ba.tar.xz
hp100: Convert the normal skb free path to dev_consume_skb_any()
A bit of floor sweeping in a dusty old corner. Convert the "normal" skb free calls to dev_consume_skb_any() so packet drop tracing will be more sane. Signed-off-by: Rick Jones <rick.jones2@hp.com> Acked-by: Jaroslav Kysela <perex@perex.cz> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hp')
-rw-r--r--drivers/net/ethernet/hp/hp100.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/hp/hp100.c b/drivers/net/ethernet/hp/hp100.c
index ed7916f6fbcf..76a6e0c77d69 100644
--- a/drivers/net/ethernet/hp/hp100.c
+++ b/drivers/net/ethernet/hp/hp100.c
@@ -1627,7 +1627,7 @@ static void hp100_clean_txring(struct net_device *dev)
#endif
/* Conversion to new PCI API : NOP */
pci_unmap_single(lp->pci_dev, (dma_addr_t) lp->txrhead->pdl[1], lp->txrhead->pdl[2], PCI_DMA_TODEVICE);
- dev_kfree_skb_any(lp->txrhead->skb);
+ dev_consume_skb_any(lp->txrhead->skb);
lp->txrhead->skb = NULL;
lp->txrhead = lp->txrhead->next;
lp->txrcommit--;
@@ -1745,7 +1745,7 @@ static netdev_tx_t hp100_start_xmit(struct sk_buff *skb,
hp100_ints_on();
spin_unlock_irqrestore(&lp->lock, flags);
- dev_kfree_skb_any(skb);
+ dev_consume_skb_any(skb);
#ifdef HP100_DEBUG_TX
printk("hp100: %s: start_xmit: end\n", dev->name);