Skip to content

Commit 63605fc

Browse files
author
Tomislav Janjusic
committed
v4.0.x OSC: Reset external request to NULL to avoid double request
completion Co-authored with Artem Polyakov <[email protected]> Signed-off-by: Tomislav Janjusic <[email protected]>
1 parent d3a7360 commit 63605fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ompi/mca/osc/ucx/osc_ucx_request.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ void req_completion(void *request, ucs_status_t status) {
5555

5656
if(req->external_req != NULL) {
5757
ompi_request_complete(&(req->external_req->super), true);
58+
req->external_req = NULL;
5859
ucp_request_release(req);
5960
mca_osc_ucx_component.num_incomplete_req_ops--;
6061
assert(mca_osc_ucx_component.num_incomplete_req_ops >= 0);

0 commit comments

Comments
 (0)