Skip to contentSkip to conversation

opensm/osm_ucast_cache.c: Fix crash when chain of switches connected come back to the fabric at once

PATCH New Hal Rosenstock 1 participant 1 message Jun 28, 2012 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 opensm/osm_ucast_cache.c: Fix crash when chain of switches connected come back to the fabric at once

---
 opensm/osm_ucast_cache.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
opensm/osm_ucast_cache.c +2 -0
index bae7a51..6257f62 100644
@@ -323,6 +323,8 @@ cache_restore_ucast_info(osm_ucast_mgr_t * p_mgr,
 		free(p_sw->hops);
 	p_sw->hops = p_cache_sw->hops;
 	p_cache_sw->hops = NULL;
+
+	p_sw->need_update = 2;
 }
 
 static void ucast_cache_dump(osm_ucast_mgr_t * p_mgr)
Signature · 6 lines
1.7.8.2

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html