Skip to contentSkip to conversation

osm_opensm.c: Call cl_disp_shutdown for SA SET dispatcher

PATCH New Hal Rosenstock 1 participant 1 message Feb 2, 2015 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 osm_opensm.c: Call cl_disp_shutdown for SA SET dispatcher

From: Daniel Klein <danielk-VPRAkNaXOzVWk0Htik3J/[email protected]>

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

---
 opensm/osm_opensm.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
opensm/osm_opensm.c +2 -0
index afa2544..62a1f3a 100644
@@ -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) &&
Signature · 6 lines
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