Hi Sasha,

Fixing trivial segmentation fault in state manager.

Please apply to ofed_1_3 branch and to master.

-- Yevgeny

Signed-off-by: Yevgeny Kliteynik <[EMAIL PROTECTED]>
---
 opensm/opensm/osm_state_mgr.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/opensm/opensm/osm_state_mgr.c b/opensm/opensm/osm_state_mgr.c
index 4b7235f..6f06a8d 100644
--- a/opensm/opensm/osm_state_mgr.c
+++ b/opensm/opensm/osm_state_mgr.c
@@ -736,9 +736,8 @@ static boolean_t __osm_state_mgr_is_sm_port_down(IN 
osm_state_mgr_t *
        if (!p_port) {
                osm_log(p_mgr->p_log, OSM_LOG_ERROR,
                        "__osm_state_mgr_is_sm_port_down: ERR 3309: "
-                       "SM port with GUID:%016" PRIx64 " (%s) is unknown\n",
-                       cl_ntoh64(port_guid),
-                       p_port->p_node ? p_port->p_node->print_desc : 
"UNKNOWN");
+                       "SM port with GUID:%016" PRIx64 " is unknown\n",
+                       cl_ntoh64(port_guid));
                state = IB_LINK_DOWN;
                CL_PLOCK_RELEASE(p_mgr->p_lock);
                goto Exit;
-- 
1.5.1.4

_______________________________________________
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