Merge ath-next from ath.git
[firefly-linux-kernel-4.4.55.git] / net / bluetooth / cmtp / sock.c
index d82787d417bdc242483de3ab4bac4bc7a91eca62..ce86a7bae844c3b98bbfeff25a8c3fabb43d0737 100644 (file)
@@ -205,7 +205,7 @@ static int cmtp_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, &cmtp_proto);
+       sk = sk_alloc(net, PF_BLUETOOTH, GFP_ATOMIC, &cmtp_proto, kern);
        if (!sk)
                return -ENOMEM;