[ofa-general] Two element types on cancel_list in cancel_mads()?
Sean Hefty
mshefty at ichips.intel.com
Thu Nov 29 16:43:16 PST 2007
> In cancel_mads, elements from two different lists are added to the
> cancel_list: wait_list and local_list. Subsequent processing of the
> cancel_list treats all elements as struct ib_mad_send_wr_private, and
> uses the send_buf field of that structure. But it appears to me that
> the items from local_list are actually of type struct
> ib_mad_local_private, and hence the reference to send_buf for these
> elements is incorrect. Can you help me understand how this works?
I was looking at the local_list handling in cancel_mads() and the rest
of mad code myself. Hal knows this part of the code better than I do,
maybe he can look here and see if there's a definite problem. This
looks like the cause of the bug Dotan just reported.
- Sean
More information about the general
mailing list