[NET]: Support multiple network namespaces with netlink
[deliverable/linux.git] / drivers / connector / connector.c
index a7b9e9bb3e8d54017480857d2b7cc6dbceedcc6f..569070997cc1fac4d6847b404371ff8cb93cda27 100644 (file)
@@ -446,7 +446,7 @@ 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, NULL, THIS_MODULE);
        if (!dev->nls)
This page took 0.058899 seconds and 5 git commands to generate.