summaryrefslogtreecommitdiffstats
path: root/kernel/net/bluetooth/hidp/sock.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/bluetooth/hidp/sock.c')
-rw-r--r--kernel/net/bluetooth/hidp/sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/net/bluetooth/hidp/sock.c b/kernel/net/bluetooth/hidp/sock.c
index cb3fdde19..008ba439b 100644
--- a/kernel/net/bluetooth/hidp/sock.c
+++ b/kernel/net/bluetooth/hidp/sock.c
@@ -235,7 +235,7 @@ static int hidp_sock_create(struct net *net, struct socket *sock, int protocol,
if (sock->type != SOCK_RAW)
return -ESOCKTNOSUPPORT;
- sk = sk_alloc(net, PF_BLUETOOTH, GFP_ATOMIC, &hidp_proto);
+ sk = sk_alloc(net, PF_BLUETOOTH, GFP_ATOMIC, &hidp_proto, kern);
if (!sk)
return -ENOMEM;