]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/rds/ib.c
Merge remote-tracking branch 'rdma/for-next'
[karo-tx-linux.git] / net / rds / ib.c
index a833ab7898fe7306968e4ac20553afbee6955f8b..f222885ac0c7397ed08c26106e68157d91267ff6 100644 (file)
@@ -336,7 +336,7 @@ static int rds_ib_laddr_check(struct net *net, __be32 addr)
        /* Create a CMA ID and try to bind it. This catches both
         * IB and iWARP capable NICs.
         */
-       cm_id = rdma_create_id(NULL, NULL, RDMA_PS_TCP, IB_QPT_RC);
+       cm_id = rdma_create_id(&init_net, NULL, NULL, RDMA_PS_TCP, IB_QPT_RC);
        if (IS_ERR(cm_id))
                return PTR_ERR(cm_id);