tilepro: Call dev_consume_skb_any instead of kfree_skb.
authorEric W. Biederman <ebiederm@xmission.com>
Sun, 16 Mar 2014 01:18:02 +0000 (18:18 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 25 Mar 2014 04:19:12 +0000 (21:19 -0700)
commit66d1bee1f3d63be9d62dae5e0bb727155567c1ce
tree12639da1a4bf9c81bcdec0b1c18ee305949dd38a
parent241198acdacdb8545b68e344c42c0060b90c509a
tilepro: Call dev_consume_skb_any instead of kfree_skb.

Replace kfree_skb with dev_consume_skb_any in tile_net_tx and
tile_net_tx_tso which can be called in hard irq and other contexts.

At the point where the skbs are freed a packet has been successfully
transmitted so dev_consume_skb_any is the appropriate variant to use.

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