[ofw] [PATCH 04/11] Trying to deregister the same memory region twice leads to an
Davis, Arlin R
arlin.r.davis at intel.com
Fri Oct 16 16:48:49 PDT 2009
Signed-off-by: Sean Hefty <sean.hefty at intel.com>
---
dapl/openib_ucm/device.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dapl/openib_ucm/device.c b/dapl/openib_ucm/device.c
index bd31cea..90a044e 100644
--- a/dapl/openib_ucm/device.c
+++ b/dapl/openib_ucm/device.c
@@ -376,8 +376,8 @@ static void ucm_service_destroy(IN DAPL_HCA *hca)
if (tp->mr_sbuf)
ibv_dereg_mr(tp->mr_sbuf);
- if (tp->mr_sbuf)
- ibv_dereg_mr(tp->mr_sbuf);
+ if (tp->mr_rbuf)
+ ibv_dereg_mr(tp->mr_rbuf);
if (tp->qp)
ibv_destroy_qp(tp->qp);
--
1.5.2.5
More information about the ofw
mailing list