pcnet32: Call dev_kfree_skb_any instead of dev_kfree_skb.
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 15 Mar 2014 22:49:08 +0000 (15:49 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 25 Mar 2014 04:18:53 +0000 (21:18 -0700)
commitaf9ba92cb2e8874ec35055212b15be044cb96e3c
treee4159114faeaafbf77eaea1f4c1e013d05ddeeef
parent37392c7b84144ba72b185682791d4a4ad084de28
pcnet32: Call dev_kfree_skb_any instead of dev_kfree_skb.

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

dev_kfree_skb_any is used as pcnet32_start_xmit only frees an
skb when it drops a packet during transmit.

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