Skip to content
Commit e17c6d77 authored by Saurabh Sengar's avatar Saurabh Sengar Committed by Richard Weinberger
Browse files

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: default avatarSaurabh Sengar <saurabh.truth@gmail.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 70c8205f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment