From e0e2ce582e8405930e050a907b1011fac8ead482 Mon Sep 17 00:00:00 2001 From: Nathan Hjelm Date: Fri, 2 Sep 2016 09:17:44 -0600 Subject: [PATCH] btl/ugni: fix erroneous warning message This commit prevents the connection code from trying to connect an endpoint if the directed datagram has been posted but not received. Signed-off-by: Nathan Hjelm (cherry picked from commit open-mpi/ompi@f93c1f2106dd63d9394462c7f822442696be0397) Signed-off-by: Nathan Hjelm --- opal/mca/btl/ugni/btl_ugni_endpoint.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/opal/mca/btl/ugni/btl_ugni_endpoint.c b/opal/mca/btl/ugni/btl_ugni_endpoint.c index c4acae1f98..e06d366619 100644 --- a/opal/mca/btl/ugni/btl_ugni_endpoint.c +++ b/opal/mca/btl/ugni/btl_ugni_endpoint.c @@ -206,8 +206,11 @@ int mca_btl_ugni_ep_connect_progress (mca_btl_base_endpoint_t *ep) { ep->dg_posted = true; rc = OPAL_ERR_RESOURCE_BUSY; } + return rc; } + + return OPAL_SUCCESS; } return mca_btl_ugni_ep_connect_finish (ep);