This adds new ports reporting (with trap 64) just before mastership
handover - new master does not report new ports in its first sweep.

Pointed out by: lbt (Lan) <[EMAIL PROTECTED]>

Signed-off-by: Sasha Khapyorsky <[EMAIL PROTECTED]>
---
 opensm/opensm/osm_state_mgr.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/opensm/opensm/osm_state_mgr.c b/opensm/opensm/osm_state_mgr.c
index a6d0e24..1cf6257 100644
--- a/opensm/opensm/osm_state_mgr.c
+++ b/opensm/opensm/osm_state_mgr.c
@@ -2168,6 +2168,9 @@ Idle:
                p_remote_sm = __osm_state_mgr_get_highest_sm( p_mgr );
                if( p_remote_sm != NULL )
                {
+                  /* report new ports (trap 64) before leaving MASTER */
+                  __osm_state_mgr_report_new_ports( p_mgr );
+
                   /* need to handover the mastership
                    * to the remote sm, and move to standby */
                   __osm_state_mgr_send_handover( p_mgr, p_remote_sm );
-- 
1.5.3.rc2.29.gc4640f

_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to