linux/drivers/staging/rtl8188eu
Jia-Ju Bai 08880f8e08 rtl8188eu: Fix a possible sleep-in-atomic bug in rtw_disassoc_cmd
The driver may sleep under a spinlock, and the function call path is:
rtw_set_802_11_bssid(acquire the spinlock)
  rtw_disassoc_cmd
    kzalloc(GFP_KERNEL) --> may sleep

To fix it, GFP_KERNEL is replaced with GFP_ATOMIC.
This bug is found by my static analysis tool and my code review.

Signed-off-by: Jia-Ju Bai <baijiaju1990@163.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-10-18 15:43:35 +02:00
..
core rtl8188eu: Fix a possible sleep-in-atomic bug in rtw_disassoc_cmd 2017-10-18 15:43:35 +02:00
hal staging: rtl8188eu: Remove braces from single statement blocks 2017-10-03 18:22:23 +02:00
include staging: rtl8188eu: add spaces around algebric and boolean operators 2017-10-18 15:40:56 +02:00
os_dep staging: rtl8188eu: Convert timers to use timer_setup() 2017-10-18 15:33:15 +02:00
Kconfig staging: rtl8188eu: force driver to be built as a module 2017-04-11 15:59:33 +02:00
Makefile Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
TODO staging: rtl8*: fix my email address up 2016-02-11 19:33:46 -08:00