bnad: Call dev_kfree_skb_any instead of dev_kfree_skb.
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 15 Mar 2014 23:06:40 +0000 (16:06 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 25 Mar 2014 04:18:55 +0000 (21:18 -0700)
commit27400df8e92b0e2934ef9de8eb7a08e7e490b784
tree298894f5340213a9ca79354a282158b9daafb865
parent07641c8fa45774d5e99f4bdc8c37a7d174a2e973
bnad: Call dev_kfree_skb_any instead of dev_kfree_skb.

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

dev_kfree_skb_any is used as bnad_start_xmit only frees skbs when to
drop them, normally transmitted packets are handled elsewhere.

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