From: Hal Rosenstock Subject: [PATCH 2/3] opensm/osm_ucast_cache.c: Fix crash when chain of switches connected come back to the fabric at once Date: Thu, 28 Jun 2012 13:10:44 -0400 Message-ID: <4FEC9014.2070303@dev.mellanox.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Alex Netes Cc: "linux-rdma (linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org)" , Vladimir Koushnir List-Id: linux-rdma@vger.kernel.org Signed-off-by: Alex Netes Signed-off-by: Hal Rosenstock Signed-off-by: Vladimir Koushnir --- opensm/osm_ucast_cache.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/opensm/osm_ucast_cache.c b/opensm/osm_ucast_cache.c index bae7a51..6257f62 100644 --- a/opensm/osm_ucast_cache.c +++ b/opensm/osm_ucast_cache.c @@ -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) -- 1.7.8.2 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html