diff options
Diffstat (limited to 'net/tls/tls_main.c')
-rw-r--r-- | net/tls/tls_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tls/tls_main.c b/net/tls/tls_main.c index 1428bd74638c..28887cf628b8 100644 --- a/net/tls/tls_main.c +++ b/net/tls/tls_main.c | |||
@@ -538,7 +538,7 @@ static struct tls_context *create_ctx(struct sock *sk) | |||
538 | struct inet_connection_sock *icsk = inet_csk(sk); | 538 | struct inet_connection_sock *icsk = inet_csk(sk); |
539 | struct tls_context *ctx; | 539 | struct tls_context *ctx; |
540 | 540 | ||
541 | ctx = kzalloc(sizeof(*ctx), GFP_KERNEL); | 541 | ctx = kzalloc(sizeof(*ctx), GFP_ATOMIC); |
542 | if (!ctx) | 542 | if (!ctx) |
543 | return NULL; | 543 | return NULL; |
544 | 544 | ||