diff options
Diffstat (limited to 'net/caif')
-rw-r--r-- | net/caif/caif_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/caif/caif_socket.c b/net/caif/caif_socket.c index 112ad784838a..3cc71b9f5517 100644 --- a/net/caif/caif_socket.c +++ b/net/caif/caif_socket.c | |||
@@ -1055,7 +1055,7 @@ static int caif_create(struct net *net, struct socket *sock, int protocol, | |||
1055 | * is really not used at all in the net/core or socket.c but the | 1055 | * is really not used at all in the net/core or socket.c but the |
1056 | * initialization makes sure that sock->state is not uninitialized. | 1056 | * initialization makes sure that sock->state is not uninitialized. |
1057 | */ | 1057 | */ |
1058 | sk = sk_alloc(net, PF_CAIF, GFP_KERNEL, &prot); | 1058 | sk = sk_alloc(net, PF_CAIF, GFP_KERNEL, &prot, kern); |
1059 | if (!sk) | 1059 | if (!sk) |
1060 | return -ENOMEM; | 1060 | return -ENOMEM; |
1061 | 1061 | ||