Skip to content

Commit

Permalink
Merge pull request openucx#15 from dmitrygx/topic/rndv_req
Browse files Browse the repository at this point in the history
UCP/TAG: Release RNDV request in case of error
  • Loading branch information
yosefe authored May 1, 2020
2 parents d066f9d + a6852a0 commit 013d834
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ucp/tag/rndv.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,11 @@ static void ucp_rndv_complete_rma_get_zcopy(ucp_request_t *rndv_req,
if (status == UCS_OK) {
ucp_rndv_req_send_ats(rndv_req, rreq,
rndv_req->send.rndv_get.remote_request, UCS_OK);
} else {
/* if completing RNDV with the error, just release RNDV request */
ucp_request_put(rndv_req);
}

ucp_rndv_zcopy_recv_req_complete(rreq, status);
}

Expand Down

0 comments on commit 013d834

Please sign in to comment.