[openib-general] Re: [PATCH] mad: add GID/class checking for matching received to sent MADs

Sean Hefty mshefty at ichips.intel.com
Wed Mar 1 09:21:55 PST 2006


Michael S. Tsirkin wrote:
>>>>>+	if (!send_resp && rcv_resp)
>>>>>+		/* is request/response. GID/LIDs are both local (same). */
>>>>>+		return 1;
>>>>>+
> We are comparing the GIDs of the requestor, remember?
> I initiated one of the MADs and remote side initiated the other one
> so I know they cant match.

At this point, all we know is that the send and original request are from the 
same port.  We still don't know what GID was used in the send.  Don't we still 
need to check that?

- Sean



More information about the general mailing list