aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/tx.c
diff options
context:
space:
mode:
authorRick Jones <rick.jones2@hp.com>2014-09-09 14:43:27 -0700
committerDavid S. Miller <davem@davemloft.net>2014-09-09 17:33:56 -0700
commit4ef6dae4ba0fc074eca69157aa29fe59b22f812c (patch)
treeb7c68e2d98336f9563491256f91c5d3d1bda8e40 /drivers/net/ethernet/sfc/tx.c
parentMerge branch 'bond_lock_removal' (diff)
downloadlinux-dev-4ef6dae4ba0fc074eca69157aa29fe59b22f812c.tar.xz
linux-dev-4ef6dae4ba0fc074eca69157aa29fe59b22f812c.zip
sfc: Convert the normal transmit complete path to dev_consume_skb_any()
Convert the normal transmit completion path from dev_kfree_skb_any() to dev_consume_skb_any() to help keep dropped packet profiling meaningful. Signed-off-by: Rick Jones <rick.jones2@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/sfc/tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/tx.c b/drivers/net/ethernet/sfc/tx.c
index 65c220f8661d..320609842211 100644
--- a/drivers/net/ethernet/sfc/tx.c
+++ b/drivers/net/ethernet/sfc/tx.c
@@ -78,7 +78,7 @@ static void efx_dequeue_buffer(struct efx_tx_queue *tx_queue,
if (buffer->flags & EFX_TX_BUF_SKB) {
(*pkts_compl)++;
(*bytes_compl) += buffer->skb->len;
- dev_kfree_skb_any((struct sk_buff *) buffer->skb);
+ dev_consume_skb_any((struct sk_buff *)buffer->skb);
netif_vdbg(tx_queue->efx, tx_done, tx_queue->efx->net_dev,
"TX queue %d transmission id %x complete\n",
tx_queue->queue, tx_queue->read_count);