diff options
Diffstat (limited to 'net/bluetooth/cmtp/sock.c')
-rw-r--r-- | net/bluetooth/cmtp/sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/cmtp/sock.c b/net/bluetooth/cmtp/sock.c index 0547edd57734..53295d33dc5c 100644 --- a/net/bluetooth/cmtp/sock.c +++ b/net/bluetooth/cmtp/sock.c | |||
@@ -205,7 +205,7 @@ static int cmtp_sock_create(struct socket *sock, int protocol) | |||
205 | if (sock->type != SOCK_RAW) | 205 | if (sock->type != SOCK_RAW) |
206 | return -ESOCKTNOSUPPORT; | 206 | return -ESOCKTNOSUPPORT; |
207 | 207 | ||
208 | sk = sk_alloc(PF_BLUETOOTH, GFP_KERNEL, &cmtp_proto, 1); | 208 | sk = sk_alloc(PF_BLUETOOTH, GFP_ATOMIC, &cmtp_proto, 1); |
209 | if (!sk) | 209 | if (!sk) |
210 | return -ENOMEM; | 210 | return -ENOMEM; |
211 | 211 | ||