diff mbox

[PATCHv2] osm_ucast_ftree.c missing reset of ca_ports

Message ID 4AD877D4.1070706@Sun.COM (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Line.Holen@Sun.COM Oct. 16, 2009, 1:40 p.m. UTC
None
diff mbox

Patch

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;