Message ID | 54CF7ADC.5030706@dev.mellanox.co.il (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Hal Rosenstock |
Headers | show |
diff --git a/opensm/osm_opensm.c b/opensm/osm_opensm.c index afa2544..62a1f3a 100644 --- a/opensm/osm_opensm.c +++ b/opensm/osm_opensm.c @@ -316,6 +316,8 @@ void osm_opensm_destroy(IN osm_opensm_t * p_osm) /* shut down the dispatcher - so no new messages cross */ cl_disp_shutdown(&p_osm->disp); + if (p_osm->sa_set_disp_initialized) + cl_disp_shutdown(&p_osm->sa_set_disp); /* dump SA DB */ if ((p_osm->sm.p_subn->sm_state == IB_SMINFO_STATE_MASTER) &&