um: net: replace GFP_KERNEL with GFP_ATOMIC when spinlock is held
authorSaurabh Sengar <saurabh.truth@gmail.com>
Thu, 29 Oct 2015 15:30:32 +0000 (21:00 +0530)
committerRichard Weinberger <richard@nod.at>
Fri, 6 Nov 2015 21:51:00 +0000 (22:51 +0100)
commite17c6d77b28c6feab446ad6eaec865e8031ed616
tree1cbb33b55e1d5715d2b379b43f83045b30373662
parent70c8205f40a385383b0c81f59550cf27273bf912
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>
arch/um/drivers/net_kern.c