]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
f_phonet: dev_kfree_skb instead of dev_kfree_skb_any in TX callback
authorRémi Denis-Courmont <remi.denis-courmont@nokia.com>
Mon, 1 Jun 2009 01:18:55 +0000 (01:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jun 2009 07:17:44 +0000 (00:17 -0700)
commitfa202592796499dade5b3854643eaf0eed4d34ba
tree6064c17ffcc6e74ddd5f7db586226b16821d49f7
parentbbd5898d39ab9f855c732f6f07e40e95b05cf52a
f_phonet: dev_kfree_skb instead of dev_kfree_skb_any in TX callback

Network device TX is never run in IRQ context, and skb is freed outside
of the IRQ-disabling spin lock. So checking for IRQ was a waste of time
here.

Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/usb/gadget/f_phonet.c