From: Daniel Klein <[email protected]>

Bug description:
OpenSM does not call cl_disp_shutdown for SA SET dispatcher

Signed-off-by: Daniel Klein <[email protected]>
Signed-off-by: Hal Rosenstock <[email protected]>
---
 opensm/osm_opensm.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

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) &&
-- 
1.7.8.2

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to