[openib-general] cm-id->context should be NULL for IB_CM_REQ_RECEIVED ?
Jeff Carr
jcarr at linuxmachines.com
Mon Jun 13 15:13:32 PDT 2005
On 06/13/05 14:54, Roland Dreier wrote:
> Jeff> OK, thanks. I checked and it does look like that is what is
> Jeff> happening. I'll set the context for the cm_id I pass into
> Jeff> ib_cm_listen to null. Assuming of course, that the cm_id
> Jeff> context for that one doesn't matter.
>
> The context is just an opaque cookie that the CM will pass back to you
> well it calls you back. So if you don't need any context in your REQ
> received callback, it's fine to use a NULL listen context.
>
> - R.
>
I see the error in my code now. Sorry about that... I wasn't passing in
NULL to the cm_id I was listening on.
User error,
Jeff
More information about the general
mailing list