Commit da58f214 authored by James Dinan's avatar James Dinan
Browse files

[svn-r10386] Added missing request callback init for FOP

This fixes FOP segv failures when configured with --enable-g=mem, and partially
addresses ticket #1697.
parent 48a3df0b
......@@ -1022,6 +1022,9 @@ static int MPIDI_CH3I_Send_immed_rmw_msg(MPIDI_RMA_ops *rma_op,
MPIU_ERR_CHKANDJUMP(rmw_req == NULL, mpi_errno, MPI_ERR_OTHER, "**nomemreq");
MPIU_Object_set_ref(rmw_req, 1);
rmw_req->dev.OnFinal = 0;
rmw_req->dev.OnDataAvail = 0;
iov[0].MPID_IOV_BUF = (MPID_IOV_BUF_CAST)fop_pkt;
iov[0].MPID_IOV_LEN = sizeof(*fop_pkt);
iov[1].MPID_IOV_BUF = (MPID_IOV_BUF_CAST)rma_op->origin_addr;
......
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