Skip to content

Commit

Permalink
Merge pull request open-mpi#7974 from abouteiller/bugfix/vader_des_tag
Browse files Browse the repository at this point in the history
bug fix: des->tag = hdr->frag, should be hdr->tag
  • Loading branch information
bosilca authored Aug 11, 2020
2 parents 1d07933 + 8e0cb1d commit b6a06ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opal/mca/btl/sm/btl_sm_component.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b6a06ca

Please sign in to comment.