1
0
Fork 0
alistair23-linux/drivers/isdn
Jia-Ju Bai 93818da5ee mISDN: Fix a sleep-in-atomic bug
The driver may sleep under a read spin lock, and the function call path is:
send_socklist (acquire the lock by read_lock)
  skb_copy(GFP_KERNEL) --> may sleep

To fix it, the "GFP_KERNEL" is replaced with "GFP_ATOMIC".

Signed-off-by: Jia-Ju Bai <baijiaju1990@163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-01 14:49:47 -04:00
..
capi isdn: kcapi: avoid uninitialized data 2017-03-28 17:59:33 -07:00
divert isdn: use setup_timer 2017-03-24 12:33:42 -07:00
gigaset isdn/gigaset: fix NULL-deref at probe 2017-03-13 12:28:40 -07:00
hardware Annotation of module parameters that specify device settings 2017-05-10 19:13:03 -07:00
hisax Annotation of module parameters that specify device settings 2017-05-10 19:13:03 -07:00
hysdn Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
i4l isdn: Fix a sleep-in-atomic bug 2017-05-31 14:38:10 -04:00
isdnloop drivers: isdn: isdnloop: isdnloop.c: Remove parenthesis around return values, as specified in CodingStyle. 2015-02-05 15:40:23 -08:00
mISDN mISDN: Fix a sleep-in-atomic bug 2017-06-01 14:49:47 -04:00
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile isdn: i4l: move active-isdn drivers to staging 2016-03-05 15:00:38 -08:00