From 55f52d7a4bc70ce0635e800de94e2d20687d651c Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Mon, 3 Nov 2008 14:25:14 +0000 Subject: [PATCH] Ensure we know how to route to a different job family when it connects to us This commit was SVN r19885. --- orte/mca/oob/tcp/oob_tcp_msg.c | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/orte/mca/oob/tcp/oob_tcp_msg.c b/orte/mca/oob/tcp/oob_tcp_msg.c index 6cc59a91c4..f0465da0b4 100644 --- a/orte/mca/oob/tcp/oob_tcp_msg.c +++ b/orte/mca/oob/tcp/oob_tcp_msg.c @@ -480,20 +480,12 @@ static void mca_oob_tcp_msg_data(mca_oob_tcp_msg_t* msg, mca_oob_tcp_peer_t* pee * not know how to route any reply back to the originator. Update * our route so we can dynamically build the routing table */ - /* if the origin and the src are the same, then we don't need to do - * this - update_route was already called when the connection was - * established in oob_tcp_peer - */ - if (OPAL_EQUAL != orte_util_compare_name_fields(ORTE_NS_CMP_ALL, - &(msg->msg_hdr.msg_origin), - &(msg->msg_hdr.msg_src))) { - if (ORTE_SUCCESS != (rc = orte_routed.update_route(&(msg->msg_hdr.msg_origin), - &(msg->msg_hdr.msg_src)))) { - /* Nothing we can do about errors here as we definitely want - * the receive to complete, but at least bark loudly - */ - ORTE_ERROR_LOG(rc); - } + if (ORTE_SUCCESS != (rc = orte_routed.update_route(&(msg->msg_hdr.msg_origin), + &(msg->msg_hdr.msg_src)))) { + /* Nothing we can do about errors here as we definitely want + * the receive to complete, but at least bark loudly + */ + ORTE_ERROR_LOG(rc); } }