public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2] osm_ucast_ftree.c missing reset of ca_ports
@ 2009-10-16 13:40 Line.Holen-UdXhSnd/wVw
       [not found] ` <4AD877D4.1070706-UdXhSnd/wVw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Line.Holen-UdXhSnd/wVw @ 2009-10-16 13:40 UTC (permalink / raw)
  To: sashak-smomgflXvOZWk0Htik3J/w; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

ca_ports is not reset before startup of ftree routing

Signed-off-by: Line Holen <Line.Holen-UdXhSnd/wVw@public.gmane.org>

---

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCHv2] osm_ucast_ftree.c missing reset of ca_ports
       [not found] ` <4AD877D4.1070706-UdXhSnd/wVw@public.gmane.org>
@ 2009-10-20 14:37   ` Sasha Khapyorsky
  0 siblings, 0 replies; 2+ messages in thread
From: Sasha Khapyorsky @ 2009-10-20 14:37 UTC (permalink / raw)
  To: Line.Holen-UdXhSnd/wVw; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

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 <Line.Holen-UdXhSnd/wVw@public.gmane.org>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-20 14:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-16 13:40 [PATCHv2] osm_ucast_ftree.c missing reset of ca_ports Line.Holen-UdXhSnd/wVw
     [not found] ` <4AD877D4.1070706-UdXhSnd/wVw@public.gmane.org>
2009-10-20 14:37   ` Sasha Khapyorsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox