diff options
-rw-r--r-- | net/nfc/rawsock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/nfc/rawsock.c b/net/nfc/rawsock.c index 11ac0a17156e..2e2f8c6a61fe 100644 --- a/net/nfc/rawsock.c +++ b/net/nfc/rawsock.c | |||
@@ -310,7 +310,7 @@ static int rawsock_create(struct net *net, struct socket *sock, | |||
310 | 310 | ||
311 | sock->ops = &rawsock_ops; | 311 | sock->ops = &rawsock_ops; |
312 | 312 | ||
313 | sk = sk_alloc(net, PF_NFC, GFP_KERNEL, nfc_proto->proto); | 313 | sk = sk_alloc(net, PF_NFC, GFP_ATOMIC, nfc_proto->proto); |
314 | if (!sk) | 314 | if (!sk) |
315 | return -ENOMEM; | 315 | return -ENOMEM; |
316 | 316 | ||