File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 2020 * Copyright (c) 2013-2016 Intel, Inc. All rights reserved.
2121 * Copyright (c) 2014-2016 Research Organization for Information Science
2222 * and Technology (RIST). All rights reserved.
23+ * Copyright (c) 2016 IBM Corporation. All rights reserved.
2324 * $COPYRIGHT$
2425 *
2526 * Additional copyrights may follow
@@ -210,6 +211,7 @@ static ompi_comm_cid_context_t *mca_comm_cid_context_alloc (ompi_communicator_t
210211
211212 context -> send_first = send_first ;
212213 context -> iter = 0 ;
214+ context -> ok = 1 ;
213215
214216 return context ;
215217}
Original file line number Diff line number Diff line change 77 * Copyright (c) 2004-2016 The University of Tennessee and The University
88 * of Tennessee Research Foundation. All rights
99 * reserved.
10+ * Copyright (c) 2016 IBM Corporation. All rights reserved.
1011 * $COPYRIGHT$
1112 *
1213 * Additional copyrights may follow
@@ -259,6 +260,7 @@ void ompi_comm_request_return (ompi_comm_request_t *request)
259260{
260261 if (request -> context ) {
261262 OBJ_RELEASE (request -> context );
263+ request -> context = NULL ;
262264 }
263265
264266 OMPI_REQUEST_FINI (& request -> super );
You can’t perform that action at this time.
0 commit comments