osm_ucast_ftree.c missing reset of ca_ports
PATCH v2 1/1 osm_ucast_ftree.c missing reset of ca_ports
ca_ports is not reset before startup of ftree routing
---
opensm/opensm/osm_ucast_ftree.c +1 -0
@@ -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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 4AD877D4.1070706-UdXhSnd/[email protected]
Quoted 3 lines · On 15:40 Fri 16 Oct , Line.Holen-UdXhSnd/[email protected] wrote:
ca_portsis not reset before startup of ftree routingSigned-off-by Line Holen <Line.Holen-UdXhSnd/[email protected]>
The patch is broken - mangled whitespaces.
Applied by hands. Thanks.
Sasha
Quoted 9 lines
---
opensm/opensm/osm_ucast_ftree.c +0
-0
opensm/opensm/osm_ucast_ftree.c static void fabric_clear(ftree_fabric_t * p_ftree) · line 1008
Quoted 7 lines
opensm/opensm/osm_ucast_ftree.c +1
-0@@ -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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html