commit | 4b61fe2621e40fb348cd4c2a592c353b43c9460b | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Sat Mar 15 18:08:04 2014 -0700 |
committer | Eric W. Biederman <ebiederm@xmission.com> | Mon Mar 24 21:19:10 2014 -0700 |
tree | 5e1dc639681818e56905381589e546304eb795d7 | |
parent | d27ab53c69f8c25d778d57064a83237df78779ce [diff] |
smc91x: Call dev_kfree/consume_skb_any instead of dev_kfree_skb. Replace dev_kfree_skb with dev_consume_skb_any in smc_hardware_send_pkt that can be called in hard irq and other contexts, and handles successfully transmitted packets. Replace dev_kfree_skb with dev_kfree_skb_any in smc_hard_start_xmit which can be called in hard irq and other contexts, and only frees skbs when dropping them. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>