From f93c1f2106dd63d9394462c7f822442696be0397 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 --- 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 31db650467..730df99c3b 100644 --- a/opal/mca/btl/ugni/btl_ugni_endpoint.c +++ b/opal/mca/btl/ugni/btl_ugni_endpoint.c @@ -208,8 +208,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);