Re: [PATCH v2 00/11] Add network namespace support in the RDMA-CM

Steve Wise
2015-04-20T14:53:46Z

Hey Haggai,

Did you check for changes needed in drivers/infiniband/core/iwcm.c? I
notice that it uses init_net here:

static int __init iw_cm_init(void)
{
iwcm_wq = create_singlethread_workqueue("iw_cm_wq");
if (!iwcm_wq)
return -ENOMEM;

iwcm_ctl_table_hdr = register_net_sysctl(&init_net, "net/iw_cm",
iwcm_ctl_table);
if (!iwcm_ctl_table_hdr) {
pr_err("iw_cm: couldn't register sysctl paths\n");
destroy_workqueue(iwcm_wq);
return -ENOMEM;
}

return 0;
}