24 lines
839 B
Diff
24 lines
839 B
Diff
|
From: Pradeep Satyanarayana <pradeep@us.ibm.com>
|
||
|
Subject: [PATCH] Hang in dat_ia_open()
|
||
|
|
||
|
Fixes hang due to erroneous invocation of rdma_destroy_id() twice
|
||
|
in a row
|
||
|
|
||
|
Acked-by: John Jolly <jjolly@suse.de>
|
||
|
---
|
||
|
dapl/openib_cma/device.c | 1 -
|
||
|
1 file changed, 1 deletion(-)
|
||
|
|
||
|
Index: dapl/openib_cma/device.c
|
||
|
===================================================================
|
||
|
--- dapl/openib_cma/device.c.orig 2011-08-19 19:09:23.000000000 +0200
|
||
|
+++ dapl/openib_cma/device.c 2012-05-09 15:10:12.629247619 +0200
|
||
|
@@ -289,7 +289,6 @@ DAT_RETURN dapls_ib_open_hca(IN IB_HCA_N
|
||
|
}
|
||
|
ret = rdma_bind_addr(cm_id, (struct sockaddr *)&hca_ptr->hca_address);
|
||
|
if ((ret) || (cm_id->verbs == NULL)) {
|
||
|
- rdma_destroy_id(cm_id);
|
||
|
dapl_log(DAPL_DBG_TYPE_ERR,
|
||
|
" open_hca: rdma_bind ERR %s."
|
||
|
" Is %s configured?\n", strerror(errno), hca_name);
|