[openib-general] Re: Send Side RMPP and OpenSM GetTableResp

Sean Hefty sean.hefty at intel.com
Tue Jun 7 12:21:06 PDT 2005


>> I'm clueless yet as to how this MAD could have been generated...  If I add
>> in some debug checks, can you rerun this test?
>
>Yes. I'm working on this right now to limited success so any help is
>appreciated. Thanks.

Can you apply this patch and send the results when you oops?

- Sean


Index: mad_rmpp.c
===================================================================
--- mad_rmpp.c	(revision 2563)
+++ mad_rmpp.c	(working copy)
@@ -588,6 +588,7 @@
 		mad_send_wr->sg_list[1].lkey = mad_send_wr->sg_list[0].lkey;
 	}
 
+	BUG_ON(mad_send_wr->seg_num > mad_send_wr->total_seg);
 	if (mad_send_wr->seg_num == mad_send_wr->total_seg) {
 		rmpp_mad->rmpp_hdr.rmpp_rtime_flags |= IB_MGMT_RMPP_FLAG_LAST;
 		rmpp_mad->rmpp_hdr.paylen_newwin =






More information about the general mailing list