[openib-general] [PATCH] validate MADs issued from userspace for spec compliance C13-18.1.1

Sean Hefty sean.hefty at intel.com
Tue Jul 11 12:08:14 PDT 2006


>> I haven't checked this in yet.  I was just about to run some additional tests
>> before doing this.  My biggest concern is that modifying the TID for SENDs
>may
>> cause an issue with some application.
>
>How about we check that application has put 0 in high 32 bit, and return
>an error if it did not?

This should work if we can determine whether the SEND is a new operation or a
response to some other request.

After further testing, this patch breaks osmtest as a result of modifying the
TID for a SEND.  I could just ignore SENDs like the existing code did, but I'm
not convinced that that's the right thing to do.

- Sean




More information about the general mailing list