linux/drivers/net/wireless/realtek/rtlwifi
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
..
btcoexist Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
rtl8188ee Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
rtl8192c Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
rtl8192ce Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
rtl8192cu Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
rtl8192de Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
rtl8192ee Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
rtl8192se Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
rtl8723ae Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
rtl8723be Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
rtl8723com Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
rtl8821ae Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
base.c rtlwifi: Fix enter/exit power_save 2016-11-29 17:33:10 +02:00
base.h
cam.c
cam.h
core.c rtlwifi: Fix kernel oops introduced with commit e496561473 2016-12-21 16:34:16 +02:00
core.h
debug.c rtlwifi: Create _rtl_dbg_trace function to reduce RT_TRACE code size 2016-07-08 12:55:09 +03:00
debug.h rtlwifi: Create _rtl_dbg_trace function to reduce RT_TRACE code size 2016-07-08 12:55:09 +03:00
efuse.c rtlwifi: Create common routine to get hardware info 2016-07-08 16:50:00 +03:00
efuse.h rtlwifi: Create common routine to get hardware info 2016-07-08 16:50:00 +03:00
Kconfig
Makefile Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
pci.c rtlwifi: Fix enter/exit power_save 2016-11-29 17:33:10 +02:00
pci.h rtlwifi: Remove address of Free Software Foundation 2016-11-17 08:41:51 +02:00
ps.c rtlwifi: Fix enter/exit power_save 2016-11-29 17:33:10 +02:00
ps.h rtlwifi: Remove unused parameter from rtl_ps_set_rf_state() 2016-07-05 17:31:41 +03:00
pwrseqcmd.h
rc.c rtlwifi: use s8 instead of char 2016-06-29 18:48:15 +03:00
rc.h
regd.c rtlwifi: Fix missing country code for Great Britain 2016-09-03 20:00:25 +03:00
regd.h
stats.c rtlwifi: use s8 instead of char 2016-06-29 18:48:15 +03:00
stats.h rtlwifi: use s8 instead of char 2016-06-29 18:48:15 +03:00
usb.c rtlwifi: Remove address of Free Software Foundation 2016-11-17 08:41:51 +02:00
usb.h rtlwifi: Remove address of Free Software Foundation 2016-11-17 08:41:51 +02:00
wifi.h rtlwifi: Fix regression caused by commit d86e647688 2016-10-13 13:22:13 +03:00