Skip to content

Commit 6bf57c7

Browse files
committed
orte/rml: ORTE_RML_SEND_COMPLETE handles messages with both NULL iov and cbfunc.buffer
1 parent 8ab88f2 commit 6bf57c7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

orte/mca/rml/base/base.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
* Copyright (c) 2007-2014 Los Alamos National Security, LLC. All rights
1414
* reserved.
1515
* Copyright (c) 2014-2016 Intel, Inc. All rights reserved.
16+
* Copyright (c) 2016 Research Organization for Information Science
17+
* and Technology (RIST). All rights reserved.
1618
* $COPYRIGHT$
1719
*
1820
* Additional copyrights may follow
@@ -249,7 +251,7 @@ OBJ_CLASS_DECLARATION(orte_rml_recv_request_t);
249251
(m)->iov, (m)->count, \
250252
(m)->tag, (m)->cbdata); \
251253
} \
252-
} else { \
254+
} else if (NULL != (m)->cbfunc.buffer) { \
253255
/* non-blocking buffer send */ \
254256
(m)->cbfunc.buffer((m)->status, &((m)->origin), \
255257
(m)->buffer, \

0 commit comments

Comments
 (0)