diff --git a/ompi/mca/btl/openib/btl_openib_endpoint.c b/ompi/mca/btl/openib/btl_openib_endpoint.c index 16e9f19669..1935567ebe 100644 --- a/ompi/mca/btl/openib/btl_openib_endpoint.c +++ b/ompi/mca/btl/openib/btl_openib_endpoint.c @@ -77,8 +77,7 @@ static int post_send(mca_btl_openib_endpoint_t *ep, MCA_BTL_OPENIB_RDMA_FRAG_SET_SIZE(ftr, sg->length); MCA_BTL_OPENIB_RDMA_MAKE_LOCAL(ftr); #if OMPI_ENABLE_DEBUG - ((mca_btl_openib_footer_t*)(((char*)seg->seg_addr.pval) + - seg->seg_len))->seq = ep->eager_rdma_remote.seq++; + ftr->seq = ep->eager_rdma_remote.seq++; #endif if(ep->nbo) BTL_OPENIB_FOOTER_HTON(*ftr);