diff options
| author | Jia-Ju Bai <[email protected]> | 2017-05-31 15:08:25 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-06-01 14:49:47 -0400 |
| commit | 93818da5eed63fbc17b64080406ea53b86b23309 (patch) | |
| tree | ffe9549d810ab6446a47219fd4ee7d0a7b1979fe /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | 35cf2845563c1aaa01d27bd34d64795c4ae72700 (diff) | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions