Files
twx-linux/drivers/isdn
Jia-Ju Bai b1c4427437 mISDN: Fix a sleep-in-atomic bug
[ Upstream commit 93818da5ee ]

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
..
2018-02-25 11:03:42 +01:00
2018-04-13 19:50:16 +02:00
…
…