android_kernel_oneplus_msm8998/drivers/isdn
Jia-Ju Bai b1c4427437 mISDN: Fix a sleep-in-atomic bug
[ Upstream commit 93818da5eed63fbc17b64080406ea53b86b23309 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-13 19:50:16 +02:00
..
act2000 isdn: replace del_timer by del_timer_sync 2014-03-27 15:28:06 -04:00
capi isdn: kcapi: avoid uninitialized data 2017-12-25 14:22:13 +01:00
divert isdn: divert, hysdn: fix interruptible_sleep_on race 2014-02-26 16:06:13 -05:00
gigaset isdn/gigaset: fix NULL-deref at probe 2017-03-26 12:13:19 +02:00
hardware ISDN: eicon: reduce stack size of sig_ind function 2018-02-25 11:03:49 +01:00
hisax isdn: Partially revert debug format string usage clean up 2015-11-25 11:49:58 -05:00
hysdn isdn: fix misspelling of current function in string 2014-12-09 16:18:46 -05:00
i4l isdn/i4l: fetch the ppp_write buffer in one shot 2017-10-21 17:09:02 +02:00
icn isdn: icn: remove a #warning 2018-02-25 11:03:42 +01: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 2018-04-13 19:50:16 +02:00
pcbit isdn: fix misspelling of current function in string 2014-12-09 16:18:46 -05:00
sc isdn: sc: work around type mismatch warning 2018-02-25 11:03:51 +01:00
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile