Commit 198d2917 authored by Pavan Balaji's avatar Pavan Balaji Committed by Antonio Pena Monferrer
Browse files

Fix rportals bug when ACK not requested



The user pointer was set, but later overwritten with an internal value.
Signed-off-by: default avatarAntonio Pena Monferrer <apenya@mcs.anl.gov>
parent f9535643
......@@ -1186,6 +1186,11 @@ int MPID_nem_ptl_rptl_eqget(ptl_handle_eq_t eq_handle, ptl_event_t * event)
else if (!(op->u.put.ack_req & PTL_ACK_REQ)) {
memcpy(event, op->u.put.send, sizeof(ptl_event_t));
MPIU_Free(op->u.put.send);
/* set the event user pointer again, since we copied
* over the original event */
event->user_ptr = op->u.put.user_ptr;
/* we should be in the data op list */
MPL_DL_DELETE(op->target->data_op_list, op);
free_op(op);
......
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