Skip to content

Commit

Permalink
Merge pull request #230 from dmitrygx/topic/ucp/rndv_complete_rts_int3
Browse files Browse the repository at this point in the history
UCP/TAG/RNDV: Complete send operation only if RTS wasn't sent
  • Loading branch information
yosefe authored Jan 2, 2022
2 parents e4b9d9e + 97be7b6 commit 14ca34d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ucp/tag/rndv.c
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ void ucp_tag_rndv_cancel(ucp_request_t *sreq)
{
if (!(sreq->send.ep->flags & UCP_EP_FLAG_REMOTE_CONNECTED)) {
if (sreq->flags & UCP_REQUEST_FLAG_RNDV_RTS_SENT) {
ucp_rndv_req_add_to_cancelled_list(sreq, UCS_ERR_CANCELED);
} else {
ucp_rndv_complete_send(sreq, UCS_ERR_CANCELED, "rndv_cancel");
}
} else {
Expand Down

0 comments on commit 14ca34d

Please sign in to comment.