dapl/dapl-2.0.30-dat-ia-open-hang.patch
Dominique Leuenberger 13f0286428 Accepting request 502397 from science:HPC
- Rename dapl-utils tests to avoid conflicts with other packages (dateutils)
  * dapltest => dapl-test
  * dtest    => dapl-utest
  * dtestcm  => dapl-testcm
  * dtestsrq => dapl-testsrq
  * dtestx   => dapl-testx
- Remove librdmacm and libibverbs version dependencies

- Restore description of libdapl. Fix some grammar errors.

- Disable dapl on armv7hl

- Make dependencies on libs now coming from rdma-core versioned.
- Remove unused patch dapl-rename_dtest.patch

- Update to 2.1.8 git version (bsc#970668).
  List of changes is too long so please see the included ChangeLog.
- Patches removed because the fixes are included upstream:
  dapl-fix_type_punning.patch
  dapl-autotools.patch
  dapl-add-s390x-platform-support.patch
  dapl-add-aarch64-platform-support.patch
  dapl-add-s390x-platform-support.patch
- Add dapl-s390.patch so that the defines are also valid for s390

- Add conflicts between dapl and dapl-debug packages for devel
  and utils

OBS-URL: https://build.opensuse.org/request/show/502397
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dapl?expand=0&rev=5
2017-06-09 13:57:33 +00:00

24 lines
848 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 2016-03-10 15:08:38.037462973 +0100
+++ dapl/openib_cma/device.c 2016-03-10 15:10:39.068801915 +0100
@@ -313,7 +313,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 as IPoIB?\n", strerror(errno), hca_name);