Hi Sasha, osm_sa_send() returns the MAD to the pool after sending it, so dumping the MAD after sending it is wrong - fixing.
Signed-off-by: Yevgeny Kliteynik <[email protected]> --- opensm/opensm/osm_sa.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/opensm/opensm/osm_sa.c b/opensm/opensm/osm_sa.c index 185557f..416d44a 100644 --- a/opensm/opensm/osm_sa.c +++ b/opensm/opensm/osm_sa.c @@ -498,9 +498,9 @@ void osm_sa_respond(osm_sa_t *sa, osm_madw_t *madw, size_t attr_size, free(item); } + osm_dump_sa_mad(sa->p_log, resp_sa_mad, OSM_LOG_FRAMES); osm_sa_send(sa, resp_madw, FALSE); - osm_dump_sa_mad(sa->p_log, resp_sa_mad, OSM_LOG_FRAMES); Exit: /* need to set the mem free ... */ item = cl_qlist_remove_head(list); -- 1.5.1.4 _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
