[NET]: Support multiple network namespaces with netlink
[deliverable/linux.git] / drivers / connector / connector.c
index 7f9c4fb7e5b0e12ffc4970274e2d9c0aca6b3076..569070997cc1fac4d6847b404371ff8cb93cda27 100644 (file)
@@ -446,9 +446,9 @@ static int __devinit cn_init(void)
        dev->id.idx = cn_idx;
        dev->id.val = cn_val;
 
-       dev->nls = netlink_kernel_create(NETLINK_CONNECTOR,
+       dev->nls = netlink_kernel_create(&init_net, NETLINK_CONNECTOR,
                                         CN_NETLINK_USERS + 0xf,
-                                        dev->input, THIS_MODULE);
+                                        dev->input, NULL, THIS_MODULE);
        if (!dev->nls)
                return -EIO;
 
This page took 0.030201 seconds and 5 git commands to generate.