[ofw] [PATCH 04/11] uDAPL cma: lock held when exiting as a result of a rdma_create_event_channel failure.

Davis, Arlin R arlin.r.davis at intel.com
Mon Jul 6 12:52:01 PDT 2009


Signed-off-by: Arlin Davis <arlin.r.davis at intel.com>
---
 dapl/openib_cma/device.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dapl/openib_cma/device.c b/dapl/openib_cma/device.c
index 22e5045..81203bf 100644
--- a/dapl/openib_cma/device.c
+++ b/dapl/openib_cma/device.c
@@ -325,6 +325,7 @@ DAT_RETURN dapls_ib_open_hca(IN IB_HCA_NAME hca_name, IN DAPL_HCA * hca_ptr)
 			dapl_dbg_log(DAPL_DBG_TYPE_ERR,
 				     " open_hca: ERR - RDMA channel %s\n",
 				     strerror(errno));
+			dapl_os_unlock(&g_hca_lock);
 			return DAT_INTERNAL_ERROR;
 		}
 	}
-- 
1.5.2.5




More information about the ofw mailing list