[ofa-general] ***SPAM*** [PATCH] opensm/osm_perfmgr.c: In osm_perfmgr_shutdown, add missing cl_disp_unregister

Hal Rosenstock hnrose at comcast.net
Fri Feb 27 10:45:57 PST 2009


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

---
diff --git a/opensm/opensm/osm_perfmgr.c b/opensm/opensm/osm_perfmgr.c
index 6d325cb..f146fac 100644
--- a/opensm/opensm/osm_perfmgr.c
+++ b/opensm/opensm/osm_perfmgr.c
@@ -849,6 +849,7 @@ void osm_perfmgr_shutdown(osm_perfmgr_t * const pm)
 {
 	OSM_LOG_ENTER(pm->log);
 	cl_timer_stop(&pm->sweep_timer);
+	cl_disp_unregister(pm->pc_disp_h);
 	osm_perfmgr_mad_unbind(pm);
 	OSM_LOG_EXIT(pm->log);
 }



More information about the general mailing list