Signed-off-by: Sean Hefty <[email protected]>
---
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
_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw