diff options
author | Saurabh Sengar <saurabh.truth@gmail.com> | 2015-10-29 21:00:32 +0530 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-11-06 22:51:00 +0100 |
commit | e17c6d77b28c6feab446ad6eaec865e8031ed616 (patch) | |
tree | 1cbb33b55e1d5715d2b379b43f83045b30373662 /arch/um/include/shared/skas/stub-data.h | |
parent | 70c8205f40a385383b0c81f59550cf27273bf912 (diff) | |
download | op-kernel-dev-e17c6d77b28c6feab446ad6eaec865e8031ed616.zip op-kernel-dev-e17c6d77b28c6feab446ad6eaec865e8031ed616.tar.gz |
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 <saurabh.truth@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/include/shared/skas/stub-data.h')
0 files changed, 0 insertions, 0 deletions