From: Rick Jones Date: Thu, 28 Aug 2014 15:53:16 +0000 (-0700) Subject: be2net: Use dev_consume_skb_any() in the non-drop path X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=96d49225a49536359e984fc4f21a87252aad8959;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: David S. Miller --- 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; }