ixgbevf: Use dev_kfree_skb_any in xmit path, not dev_kfree_skb
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Fri, 1 May 2015 17:34:50 +0000 (10:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2015 04:06:55 +0000 (00:06 -0400)
commite7fcd5439ffd76e499b7ba4a2f8e99645addff3e
tree0d807cb26c2cabb40712867644d52d0e16a2a646
parenteb781397904e5d6b90c80463eaa9dc592831bdae
ixgbevf: Use dev_kfree_skb_any in xmit path, not dev_kfree_skb

With netpoll making use of the transmit function it is possible for the
ndo_start_xmit function to be called with irqs disabled.  As such we need
to use dev_kfree_skb_any in the Tx cleanup path for frames that are
dropped.

Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c