diff --git a/ompi/mca/btl/openib/btl_openib.c b/ompi/mca/btl/openib/btl_openib.c index 3c55940567..b35f32daeb 100644 --- a/ompi/mca/btl/openib/btl_openib.c +++ b/ompi/mca/btl/openib/btl_openib.c @@ -975,7 +975,7 @@ int mca_btl_openib_put( mca_btl_base_module_t* btl, int rc; OPAL_THREAD_LOCK(&ep->endpoint_lock); rc = check_endpoint_state(ep, descriptor, &ep->pending_put_frags); - OPAL_THREAD_UNLOCK(&ep->ep_lock); + OPAL_THREAD_UNLOCK(&ep->endpoint_lock); if(OMPI_ERR_TEMP_OUT_OF_RESOURCE == rc) return OMPI_SUCCESS; if(OMPI_SUCCESS != rc) diff --git a/ompi/mca/btl/openib/connect/btl_openib_connect_xoob.c b/ompi/mca/btl/openib/connect/btl_openib_connect_xoob.c index 835a289c43..4d9ed18a5b 100644 --- a/ompi/mca/btl/openib/connect/btl_openib_connect_xoob.c +++ b/ompi/mca/btl/openib/connect/btl_openib_connect_xoob.c @@ -593,7 +593,7 @@ static int xoob_send_connect_data(mca_btl_base_endpoint_t* endpoint, } /* on response we add all SRQ numbers */ for (srq = 0; srq < mca_btl_openib_component.num_xrc_qps; srq++) { - BTL_VERBOSE(("XOOB Send pack srq[%d] num = %d", srq, endpoint->endpoint_btl->qps[srq].u.src_qp.xrc->xrc_srq_num)); + BTL_VERBOSE(("XOOB Send pack srq[%d] num = %d", srq, endpoint->endpoint_btl->qps[srq].u.srq_qp.srq->xrc_srq_num)); BTL_VERBOSE(("packing %d of %d\n", 1, ORTE_UINT32)); rc = orte_dss.pack(buffer, &endpoint->endpoint_btl->qps[srq].u.srq_qp.srq->xrc_srq_num, 1, ORTE_UINT32);