From 8e0cb1d49d46fdf5500433081edf3de884d43a53 Mon Sep 17 00:00:00 2001 From: Aurelien Bouteiller Date: Thu, 30 Jul 2020 14:02:22 -0400 Subject: [PATCH] des->tag = hdr->frag, should be hdr->tag Signed-off-by: Aurelien Bouteiller --- opal/mca/btl/sm/btl_sm_component.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opal/mca/btl/sm/btl_sm_component.c b/opal/mca/btl/sm/btl_sm_component.c index edc31432f59..138f676d140 100644 --- a/opal/mca/btl/sm/btl_sm_component.c +++ b/opal/mca/btl/sm/btl_sm_component.c @@ -642,7 +642,7 @@ void mca_btl_sm_poll_handle_frag (mca_btl_sm_hdr_t *hdr, struct mca_btl_base_end const mca_btl_active_message_callback_t *reg = mca_btl_base_active_message_trigger + hdr->tag; mca_btl_base_segment_t segments[2] = {[0] = {.seg_addr.pval = (void *) (hdr + 1), .seg_len = hdr->len}}; mca_btl_base_receive_descriptor_t frag = {.endpoint = endpoint, .des_segments = segments, - .des_segment_count = 1, .tag = hdr->frag, + .des_segment_count = 1, .tag = hdr->tag, .cbdata = reg->cbdata}; if (hdr->flags & MCA_BTL_SM_FLAG_SINGLE_COPY) {