From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Khapyorsky Subject: Re: [PATCHv2] osm_ucast_ftree.c missing reset of ca_ports Date: Tue, 20 Oct 2009 16:37:52 +0200 Message-ID: <20091020143752.GW20210@me> References: <4AD877D4.1070706@Sun.COM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <4AD877D4.1070706-UdXhSnd/wVw@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Line.Holen-UdXhSnd/wVw@public.gmane.org Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-rdma@vger.kernel.org On 15:40 Fri 16 Oct , Line.Holen-UdXhSnd/wVw@public.gmane.org wrote: > ca_ports is not reset before startup of ftree routing > > Signed-off-by: Line Holen The patch is broken - mangled whitespaces. Applied by hands. Thanks. Sasha > > --- > > diff --git a/opensm/opensm/osm_ucast_ftree.c b/opensm/opensm/osm_ucast_ftree.c > index 885c834..5b403f7 100644 > --- a/opensm/opensm/osm_ucast_ftree.c > +++ b/opensm/opensm/osm_ucast_ftree.c > @@ -1002,6 +1002,7 @@ static void fabric_clear(ftree_fabric_t * p_ftree) > > p_ftree->leaf_switches_num = 0; > p_ftree->cn_num = 0; > + p_ftree->ca_ports = 0; > p_ftree->leaf_switch_rank = 0; > p_ftree->max_switch_rank = 0; > p_ftree->max_cn_per_leaf = 0; > -- 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