[ofa-general] [PATCH] opensm: don't break name_map using when routing_engine was not found.

Sasha Khapyorsky sashak at voltaire.com
Wed Dec 5 11:03:03 PST 2007


Don't break using node_name_map using when routing_engine was not found
by the name provided.

Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
 opensm/opensm/osm_opensm.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/opensm/opensm/osm_opensm.c b/opensm/opensm/osm_opensm.c
index a08b0f9..26b9969 100644
--- a/opensm/opensm/osm_opensm.c
+++ b/opensm/opensm/osm_opensm.c
@@ -305,13 +305,11 @@ osm_opensm_init(IN osm_opensm_t * const p_osm,
 #endif				/* ENABLE_OSM_PERF_MGR */
 
 	if (p_opt->routing_engine_name &&
-	    setup_routing_engine(p_osm, p_opt->routing_engine_name)) {
+	    setup_routing_engine(p_osm, p_opt->routing_engine_name))
 		osm_log(&p_osm->log, OSM_LOG_VERBOSE,
 			"osm_opensm_init: cannot find or setup routing engine"
 			" \'%s\'. Default will be used instead\n",
 			p_opt->routing_engine_name);
-		goto Exit;
-	}
 
 	p_osm->node_name_map = open_node_name_map(p_opt->node_name_map_name);
 
-- 
1.5.3.4.206.g58ba4




More information about the general mailing list