net: Pass kern from net_proto_family.create to sk_alloc
[linux-2.6-microblaze.git] / net / atm / svc.c
index 1ba23f5..3fa0a9e 100644 (file)
@@ -660,7 +660,7 @@ static int svc_create(struct net *net, struct socket *sock, int protocol,
                return -EAFNOSUPPORT;
 
        sock->ops = &svc_proto_ops;
-       error = vcc_create(net, sock, protocol, AF_ATMSVC);
+       error = vcc_create(net, sock, protocol, AF_ATMSVC, kern);
        if (error)
                return error;
        ATM_SD(sock)->local.sas_family = AF_ATMSVC;