OSM crashes when accessing fields of mad that has already been returned to the pool.
Signed-off-by: Yevgeny Kliteynik <[email protected]> --- opensm/opensm/osm_vl15intf.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/opensm/opensm/osm_vl15intf.c b/opensm/opensm/osm_vl15intf.c index e2b3888..005dbd0 100644 --- a/opensm/opensm/osm_vl15intf.c +++ b/opensm/opensm/osm_vl15intf.c @@ -97,8 +97,7 @@ static void vl15_send_mad(osm_vl15_t * p_vl, osm_madw_t * p_madw, } OSM_LOG(p_vl->p_log, OSM_LOG_ERROR, "ERR 3E03: " - "MAD send failed (%s), TID 0x%" PRIx64 "\n", - ib_get_err_str(status), cl_ntoh64(p_madw->p_mad->trans_id)); + "MAD send failed (%s)\n", ib_get_err_str(status)); /* The MAD was never successfully sent, so -- 1.5.1.4 -- 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
