Skip to contentSkip to conversation

opensm/osm_vl15intf.c: reverting commit 546399c3b983cdfe7adf4bd0b179358744603478

PATCH Applied Yevgeny Kliteynik 3 participants 3 messages Dec 16, 2009 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opensm/osm_vl15intf.c: reverting commit 546399c3b983cdfe7adf4bd0b179358744603478

OSM crashes when accessing fields of mad that has already been returned to the pool.

---
 opensm/opensm/osm_vl15intf.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
opensm/opensm/osm_vl15intf.c +1 -2
index e2b3888..005dbd0 100644
@@ -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
Signature · 6 lines
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

A message that is not in the archive (sent off-list or not yet received): 4B28A235.9090900-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org

#2 lore raw
Quoted 13 lines · Yevgeny Kliteynik

OSM crashes when accessing fields of mad that has already been returned to the pool.

---
 opensm/opensm/osm_vl15intf.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
opensm/opensm/osm_vl15intf.c +0 -0
index e2b3888..005dbd0 100644

opensm/opensm/osm_vl15intf.c static void vl15_send_mad(osm_vl15_t * p_vl, osm_madw_t * p_madw, · line 103

Quoted 9 lines
opensm/opensm/osm_vl15intf.c +1 -2
@@ -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

--
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