diff options
| author | Saurabh Sengar <[email protected]> | 2015-10-29 15:30:32 +0000 |
|---|---|---|
| committer | Richard Weinberger <[email protected]> | 2015-11-06 21:51:00 +0000 |
| commit | e17c6d77b28c6feab446ad6eaec865e8031ed616 (patch) | |
| tree | 1cbb33b55e1d5715d2b379b43f83045b30373662 /net/unix/af_unix.c | |
| parent | um: Report host OOM more nicely (diff) | |
| download | kernel-e17c6d77b28c6feab446ad6eaec865e8031ed616.tar.gz kernel-e17c6d77b28c6feab446ad6eaec865e8031ed616.zip | |
um: net: replace GFP_KERNEL with GFP_ATOMIC when spinlock is held
since GFP_KERNEL with GFP_ATOMIC while spinlock is held,
as code while holding a spinlock should be atomic.
GFP_KERNEL may sleep and can cause deadlock,
where as GFP_ATOMIC may fail but certainly avoids deadlockdex f70dd54..d898f6c 100644
Signed-off-by: Saurabh Sengar <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
