From: Line.Holen-UdXhSnd/wVw@public.gmane.org
To: sashak-smomgflXvOZWk0Htik3J/w@public.gmane.org
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCHv2] osm_ucast_ftree.c missing reset of ca_ports
Date: Fri, 16 Oct 2009 15:40:36 +0200 [thread overview]
Message-ID: <4AD877D4.1070706@Sun.COM> (raw)
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
next reply other threads:[~2009-10-16 13:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-16 13:40 Line.Holen-UdXhSnd/wVw [this message]
[not found] ` <4AD877D4.1070706-UdXhSnd/wVw@public.gmane.org>
2009-10-20 14:37 ` [PATCHv2] osm_ucast_ftree.c missing reset of ca_ports Sasha Khapyorsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AD877D4.1070706@Sun.COM \
--to=line.holen-udxhsnd/wvw@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=sashak-smomgflXvOZWk0Htik3J/w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox