]> git.openfabrics.org - ~ardavis/dapl.git/commitdiff
cma: rdma_destroy_id called twice during device open bind error
authorsean.hefty@intel.com <root@cst-linux.(none)>
Tue, 19 Oct 2010 20:54:42 +0000 (13:54 -0700)
committerSean Hefty <sean.hefty@intel.com>
Tue, 19 Oct 2010 20:54:42 +0000 (13:54 -0700)
Signed-off-by: Pradeep Satyanarayana <pradeeps@linux.vnet.ibm.com>
dapl/openib_cma/device.c

index e4ff22eb79633e55052e67c2fcbe6218abf6f6e0..454c394f50151e1655a0aa387978bf3f5790a494 100644 (file)
@@ -289,7 +289,6 @@ DAT_RETURN dapls_ib_open_hca(IN IB_HCA_NAME hca_name, IN DAPL_HCA * hca_ptr)
                dapl_log(DAPL_DBG_TYPE_ERR,
                         " open_hca: rdma_bind ERR %s."
                         " Is %s configured?\n", strerror(errno), hca_name);
-               rdma_destroy_id(cm_id);
                return DAT_INVALID_ADDRESS;
        }