virtio_net: Call dev_kfree_skb_any instead of dev_kfree_skb.
commit85e945253955f399c2aacd220423a5e298e963b8
authorEric W. Biederman <ebiederm@xmission.com>
Sun, 16 Mar 2014 01:43:33 +0000 (15 18:43 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 25 Mar 2014 04:19:25 +0000 (24 21:19 -0700)
tree4da67fe92fa1551c5aa2198268f100e2ae0149c7
parent8b6da5fb96e316848d6af6201925f765608b76cd
virtio_net: Call dev_kfree_skb_any instead of dev_kfree_skb.

Replace dev_kfree_skb with dev_kfree_skb_any in start_xmit which can
be called in hard irq and other contexts.

start_xmit only frees skbs that it is dropping.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
drivers/net/virtio_net.c