[openib-general] cm-id->context should be NULL for IB_CM_REQ_RECEIVED ?

Jeff Carr jcarr at linuxmachines.com
Mon Jun 13 14:12:28 PDT 2005


On the recieving end of a request, when the handler gets called and the 
cm-id gets passed to your handler (aka when the handler gets 
IB_CM_REQ_RECEIVED) it seems cm-id->context isn't null. Is there some 
useful data in there? If not, I think it makes more sense (and makes 
code easier to write to use the cm handler) if the context is set to NULL.

Enjoy,
Jeff

PS: Might it also be good to up the DRV_VERSION to include the SVN rev 
so it's possible to tell which version of what was used via dmesg. (or 
is there a /sys/ or /proc/ interface for that info?)



More information about the general mailing list