[ofa-general] [PATCH] opensm/osm_perfmgr.c: If redirection requested but disabled, don't rerequest

Hal Rosenstock hrosenstock at xsigo.com
Mon Jan 28 10:13:42 PST 2008


opensm/osm_perfmgr.c: If redirection requested but disabled, don't
rerequest

Signed-off-by: Hal Rosenstock <hal at xsigo.com>

diff --git a/opensm/opensm/osm_perfmgr.c b/opensm/opensm/osm_perfmgr.c
index 091b46a..674d8a5 100644
--- a/opensm/opensm/osm_perfmgr.c
+++ b/opensm/opensm/osm_perfmgr.c
@@ -1166,8 +1166,11 @@ static void osm_pc_rcv_process(void *context, void *data)
 			goto Exit;
 		}
 
-		if (!pm->subn->opt.perfmgr_redir)
-			goto ReIssue;
+		if (!pm->subn->opt.perfmgr_redir) {
+				osm_log(pm->log, OSM_LOG_ERROR,
+				       "osm_pc_rcv_process: ERR 4C16: redirection requested but disabled\n");
+			goto Exit;
+		}
 
 		/* LID redirection support (easier than GID redirection) */
 		cl_plock_acquire(pm->lock);





More information about the general mailing list