commit | e49656147359411fb7529a211e852e587e5970dd | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Tue Nov 01 14:48:40 2016 +0000 |
committer | Kalle Valo <kvalo@codeaurora.org> | Thu Nov 17 08:48:33 2016 +0200 |
tree | cf64cd1fcca84c1b452c522f0f15c50fe3394488 | |
parent | 7fc1503c906f0fac62d3506a6e993e49fb996248 [diff] |
rtlwifi: Use dev_kfree_skb_irq instead of kfree_skb It is not allowed to call kfree_skb() from hardware interrupt context or with interrupts being disabled, spin_lock_irqsave() make sure always in irq disable context. So the kfree_skb() should be replaced with dev_kfree_skb_irq(). This is detected by Coccinelle semantic patch. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>