Message ID | E3280858FA94444CA49D2BA02341C9835ECA1CB9@orsmsx506.amr.corp.intel.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
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);