enic: Call dev_kfree_skb_any instead of dev_kfree_skb.
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 15 Mar 2014 23:49:05 +0000 (16:49 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 25 Mar 2014 04:18:59 +0000 (21:18 -0700)
commit98d8a65d106bab634ea6ed66d8fad8d60a4d6d99
tree297975651c2a61a1c8f34c22d245957428114a2b
parentd6bea829ca783d96087a71990d9298583c81d8b0
enic: Call dev_kfree_skb_any instead of dev_kfree_skb.

Replace dev_kfree_skb with dev_kfree_skb_any in enic_hard_start_xmit
that can be called in hard irq and other contexts.

enic_hard_start_xmit only frees the skb when dropping it.

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