summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/emulex
diff options
context:
space:
mode:
authorRick Jones <rick.jones2@hp.com>2014-08-28 17:53:16 +0200
committerDavid S. Miller <davem@davemloft.net>2014-08-30 05:36:33 +0200
commit96d49225a49536359e984fc4f21a87252aad8959 (patch)
treef114b4f6ea8be1aec0589ac4d3290ad4c3c267be /drivers/net/ethernet/emulex
parentbnx2x: Fix sparse warnings (diff)
downloadlinux-96d49225a49536359e984fc4f21a87252aad8959.tar.xz
linux-96d49225a49536359e984fc4f21a87252aad8959.zip
be2net: Use dev_consume_skb_any() in the non-drop path
The be2net driver was still using dev_kfree_skb_any() in a "normal" skb freeing path. This rather clutters perf top -G -e skb_kfree_skb profiling. Signed-off-by: Rick Jones <rick.jones2@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex')
-rw-r--r--drivers/net/ethernet/emulex/benet/be_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c
index 93ff8ef39352..42e9cea52bdc 100644
--- a/drivers/net/ethernet/emulex/benet/be_main.c
+++ b/drivers/net/ethernet/emulex/benet/be_main.c
@@ -1991,7 +1991,7 @@ static u16 be_tx_compl_process(struct be_adapter *adapter,
queue_tail_inc(txq);
} while (cur_index != last_index);
- dev_kfree_skb_any(sent_skb);
+ dev_consume_skb_any(sent_skb);
return num_wrbs;
}