From 6bf57c799fb4ad49f923d3a0850b3ca43861a91c Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Tue, 26 Apr 2016 09:18:40 +0900 Subject: [PATCH] orte/rml: ORTE_RML_SEND_COMPLETE handles messages with both NULL iov and cbfunc.buffer --- orte/mca/rml/base/base.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/orte/mca/rml/base/base.h b/orte/mca/rml/base/base.h index 09bf61e7d8..55b72d52ce 100644 --- a/orte/mca/rml/base/base.h +++ b/orte/mca/rml/base/base.h @@ -13,6 +13,8 @@ * Copyright (c) 2007-2014 Los Alamos National Security, LLC. All rights * reserved. * Copyright (c) 2014-2016 Intel, Inc. All rights reserved. + * Copyright (c) 2016 Research Organization for Information Science + * and Technology (RIST). All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow @@ -249,7 +251,7 @@ OBJ_CLASS_DECLARATION(orte_rml_recv_request_t); (m)->iov, (m)->count, \ (m)->tag, (m)->cbdata); \ } \ - } else { \ + } else if (NULL != (m)->cbfunc.buffer) { \ /* non-blocking buffer send */ \ (m)->cbfunc.buffer((m)->status, &((m)->origin), \ (m)->buffer, \