Skip to content
Snippets Groups Projects
Commit 2656c9e2 authored by Macpaul Lin's avatar Macpaul Lin Committed by Felipe Balbi
Browse files

usb: gadget: f_rndis: reduce NETTX irq caused by free skb header


This patch reduce unecessary NETTX softirq call caused by
free skb header. You will see this softirq comes twice while
there is only one TX packet to be transmitted.

So using dev_kfree_skb() instead of dev_kfree_skb_any() to
avoid this problem.

Cc: David S. Miller <davem@davemloft.net>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarMacpaul Lin <macpaul@gmail.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 9189a330
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment