mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 22:02:02 +00:00
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>
This commit is contained in:
parent
56daf66d3c
commit
96d49225a4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue