diff mbox

[opensm] routing segfault + LMC > 0 routing bug?

Message ID 1300843412.3128.135.camel@auk59.llnl.gov (mailing list archive)
State RFC
Delegated to: Alex Netes
Headers show

Commit Message

Al Chu March 23, 2011, 1:23 a.m. UTC
None
diff mbox

Patch

diff --git a/opensm/osm_ucast_mgr.c b/opensm/osm_ucast_mgr.c
index 4019589..211d6e0 100644
--- a/opensm/osm_ucast_mgr.c
+++ b/opensm/osm_ucast_mgr.c
@@ -318,10 +318,6 @@  static void alloc_ports_priv(osm_ucast_mgr_t * mgr)
 	     item = cl_qmap_next(item)) {
 		port = (osm_port_t *) item;
 		lmc = ib_port_info_get_lmc(&port->p_physp->port_info);
-		if (!lmc) {
-			port->priv = NULL;
-			continue;
-		}
 		r = malloc(sizeof(*r) + sizeof(r->guids[0]) * (1 << lmc));
 		if (!r) {
 			OSM_LOG(mgr->p_log, OSM_LOG_ERROR, "ERR 3A09: "