summaryrefslogtreecommitdiff
path: root/Documentation/i2c/fault-codes
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2016-12-19 20:38:12 -0600
committerKalle Valo <kvalo@codeaurora.org>2016-12-21 16:34:16 +0200
commit22b68b93ae2506bd56ee3bf232a51bc8ab955b56 (patch)
tree2ba3e4c4dcf4f1d7aeaf919d21c4b7afb824cba6 /Documentation/i2c/fault-codes
parentd1f1c0e289e1bc46cd6873ba6dd6c627f459e7fa (diff)
rtlwifi: Fix kernel oops introduced with commit e49656147359
With commit e49656147359 {"rtlwifi: Use dev_kfree_skb_irq instead of kfree_skb"), the method used to free an skb was changed because the kfree_skb() was inside a spinlock. What was forgotten is that kfree_skb() guards against a NULL value for the argument. Routine dev_kfree_skb_irq() does not, and a test is needed to prevent kernel panics. Fixes: e49656147359 ("rtlwifi: Use dev_kfree_skb_irq instead of kfree_skb") Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Stable <stable@vger.kernel.org> # 4.9+ Cc: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'Documentation/i2c/fault-codes')
0 files changed, 0 insertions, 0 deletions