net: Pass kern from net_proto_family.create to sk_alloc
[deliverable/linux.git] / net / tipc / socket.c
index 9074b5cede38b8edd75890b684a706d96b9f71ba..8f3c8e2cef8e15d359a43445ae265741068b0f5c 100644 (file)
@@ -342,7 +342,7 @@ static int tipc_sk_create(struct net *net, struct socket *sock,
        }
 
        /* Allocate socket's protocol area */
-       sk = sk_alloc(net, AF_TIPC, GFP_KERNEL, &tipc_proto);
+       sk = sk_alloc(net, AF_TIPC, GFP_KERNEL, &tipc_proto, kern);
        if (sk == NULL)
                return -ENOMEM;
 
This page took 0.028695 seconds and 5 git commands to generate.