diff --git a/net/tls/tls_main.c b/net/tls/tls_main.c index 523622dc74f8b969113b0435b39f5d0f3d070304..7fab2891ce7f1ce1e725324de22478e93627ee28 100644 --- a/net/tls/tls_main.c +++ b/net/tls/tls_main.c @@ -550,7 +550,7 @@ static struct tls_context *create_ctx(struct sock *sk) struct inet_connection_sock *icsk = inet_csk(sk); struct tls_context *ctx; - ctx = kzalloc(sizeof(*ctx), GFP_KERNEL); + ctx = kzalloc(sizeof(*ctx), GFP_ATOMIC); if (!ctx) return NULL;