diff options
| author | Jia-Ju Bai <baijiaju1990@163.com> | 2017-05-31 15:08:25 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-13 19:50:16 +0200 |
| commit | b1c442743717cd98c4043b24f4d0efe0c87127ce (patch) | |
| tree | c13ac1f2953fcf2aba2e9e0d70d5aac54c81b96c /drivers/gpu/drm/omapdrm/omap_gem.c | |
| parent | 819bb2c00f329088a5f9291f48aeda740b3dcec9 (diff) | |
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>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem.c')
0 files changed, 0 insertions, 0 deletions
