in osm_opensm_destroy Signed-off-by: Hal Rosenstock <h...@mellanox.com> --- diff --git a/opensm/opensm/osm_opensm.c b/opensm/opensm/osm_opensm.c index 0de5fa4..5007dd2 100644 --- a/opensm/opensm/osm_opensm.c +++ b/opensm/opensm/osm_opensm.c @@ -273,7 +273,8 @@ void osm_opensm_destroy(IN osm_opensm_t * p_osm) cl_disp_shutdown(&p_osm->disp);
/* dump SA DB */ - osm_sa_db_file_dump(p_osm); + if (p_osm->subn.opt.sa_db_dump) + osm_sa_db_file_dump(p_osm); /* do the destruction in reverse order as init */ destroy_plugins(p_osm); -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html