Message ID | 20130722160948.GB24222@gmail.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Delegated to: | Hal Rosenstock |
Headers | show |
diff --git a/opensm/osm_drop_mgr.c b/opensm/osm_drop_mgr.c index b309273..5113fa2 100644 --- a/opensm/osm_drop_mgr.c +++ b/opensm/osm_drop_mgr.c @@ -114,7 +114,9 @@ static void drop_mgr_clean_physp(osm_sm_t * sm, IN osm_physp_t * p_physp) the remote port, since it is no longer reachable. This can be done if we reset the discovery count of the remote port. */ - if (!p_remote_physp->p_node->sw) { + if (!p_remote_physp->p_node->sw && + p_remote_physp->port_guid != + sm->p_subn->sm_port_guid) { p_remote_port->discovery_count = 0; OSM_LOG(sm->p_log, OSM_LOG_DEBUG, "Resetting discovery count of node: "
When cleaning up remotes of non reachable ports anymore. Make exception for our own local SM port. In that case port still be in SM DB and running single port mode is possible. Signed-off-by: Sasha Khapyorsky <sashakh@gmail.com> --- opensm/osm_drop_mgr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)