From: Ganesh Goudar
Date: Wed, 19 Dec 2018 17:18:22 +0530
> create_ctx can be called from atomic context, hence use
> GFP_ATOMIC instead of GFP_KERNEL.
>
> [ 395.962599] BUG: sleeping function called from invalid context at
> mm/slab.h:421
> [ 395.979896] in_atomic(): 1, irqs_disabled(): 0, p
create_ctx can be called from atomic context, hence use
GFP_ATOMIC instead of GFP_KERNEL.
[ 395.962599] BUG: sleeping function called from invalid context at
mm/slab.h:421
[ 395.979896] in_atomic(): 1, irqs_disabled(): 0, pid: 16254, name: openssl
[ 395.996564] 2 locks held by openssl/16254:
[