commit | 0f6e87613c3234c6350aaa971bd9434d29405302 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Wed Oct 19 13:47:52 2016 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 19 15:16:24 2016 -0400 |
tree | cbf0d067bd71808b9b7c088f141eda6bfaf0a481 | |
parent | e215701f2d1c521b2efee7cc35ef9097f80e4abe [diff] |
net: arc_emac: use dev_kfree_skb_any instead of dev_kfree_skb Replace dev_kfree_skb with dev_kfree_skb_any in arc_emac_tx() which can be called from hard irq context (netpoll) and from other contexts. arc_emac_tx() only frees skbs that it has dropped. This is detected by Coccinelle semantic patch. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>