linux/drivers/net/wireless/realtek
Yan-Hsuan Chuang f4f84ff837 rtw88: fix potential NULL skb access in TX ISR
Sometimes the TX queue may be empty and we could possible
dequeue a NULL pointer, crash the kernel. If the skb is NULL
then there is nothing to do, just leave the ISR.

And the TX queue should not be empty here, so print an error
to see if there is anything wrong for DMA ring.

Fixes: e3037485c6 ("rtw88: new Realtek 802.11ac driver")
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2020-01-26 17:42:31 +02:00
..
rtl8xxxu rtl8xxxu: fix interface sanity check 2019-12-18 21:06:05 +02:00
rtl818x rtlwifi: rtl8225se: remove some unused const variables 2019-11-06 19:56:32 +02:00
rtlwifi rtlwifi: rtl8821ae: Make functions static & rm sw.h 2020-01-26 17:39:45 +02:00
rtw88 rtw88: fix potential NULL skb access in TX ISR 2020-01-26 17:42:31 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00