smsc911x: Call dev_consume_skb_any instead of dev_kfree_skb.
authorEric W. Biederman <ebiederm@xmission.com>
Sun, 16 Mar 2014 01:08:52 +0000 (18:08 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 25 Mar 2014 04:19:10 +0000 (21:19 -0700)
commit89a9eb631822daff23c929e7d55a099941d38e09
tree847a7d9422ea9b03387ade45cf0d693823e8b3d1
parent4b61fe2621e40fb348cd4c2a592c353b43c9460b
smsc911x: Call dev_consume_skb_any instead of dev_kfree_skb.

Replace dev_kfree_skb with dev_consume_skb_any in smsc911x_hard_xmit
which can be called in hard irq and other contexts. smsc911x_hard_xmit
always transmits and consumes the specified skb.

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