Skip to content

Commit

Permalink
prov/gni: Fix segfault when using FI_MULTI_RECV
Browse files Browse the repository at this point in the history
cherry-pick pr ofiwg#3208 over to 1.5.x

Signed-off-by: Erik Paulson <erik.r.paulson@intel.com>
(cherry picked from commit 17bf845)
  • Loading branch information
Erik Paulson authored and hppritcha committed Nov 15, 2017
1 parent 480a6db commit 02ef1d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prov/gni/src/gnix_ep.c
Expand Up @@ -424,7 +424,7 @@ ssize_t _ep_recvmsg(struct fid_ep *ep, const struct fi_msg *msg,
return _gnix_recv_mr(ep_priv,
(uint64_t)msg->msg_iov[0].iov_base,
msg->msg_iov[0].iov_len,
msg->desc[0],
msg->desc ? msg->desc[0] : NULL,
msg->addr,
msg->context,
ep_priv->op_flags | flags,
Expand Down

0 comments on commit 02ef1d5

Please sign in to comment.