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
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html