Commit ed2813ae authored by Kenneth Raffenetti's avatar Kenneth Raffenetti
Browse files

portals4: fixup for noncontig recvs



A recent testsuite update unveiled an issue when unpacking a large
noncontiguous message. We need to ignore any previous segment
manipulation when unpacking the beginning of the message.
Signed-off-by: default avatarAntonio J. Pena <apenya@mcs.anl.gov>
parent 2b613316
......@@ -287,7 +287,7 @@ static int handler_recv_dequeue_large(const ptl_event_t *e)
MPIU_Memcpy((char *)rreq->dev.user_buf + dt_true_lb, e->start, e->mlength);
} else {
last = e->mlength;
MPID_Segment_unpack(rreq->dev.segment_ptr, rreq->dev.segment_first, &last, e->start);
MPID_Segment_unpack(rreq->dev.segment_ptr, 0, &last, e->start);
MPIU_Assert(last == e->mlength);
rreq->dev.segment_first = e->mlength;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment