kernel_optimize_test/drivers/net/wireless/realtek
Larry Finger 22b68b93ae rtlwifi: Fix kernel oops introduced with commit e496561473
With commit e496561473 {"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: e496561473 ("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>
2016-12-21 16:34:16 +02:00
..
rtl8xxxu rtl8xxxu: Work around issue with 8192eu and 8723bu devices not reconnecting 2016-12-01 14:24:05 +02:00
rtl818x rtlwifi: rtl818x: Deinline indexed IO functions, save 21568 bytes 2016-05-03 13:05:14 +03:00
rtlwifi rtlwifi: Fix kernel oops introduced with commit e496561473 2016-12-21 16:34:16 +02:00
Kconfig realtek: create separate Kconfig file 2015-11-18 14:28:31 +02:00
Makefile