[openib-general] [PATCH] RDMA/iwcm: Bugs in cm_conn_req_handler()

Sean Hefty mshefty at ichips.intel.com
Mon Feb 12 08:19:34 PST 2007


> This design is based on the RDMA_CM and IB_CM behavior.  If the app
> issues the destroy via rdma_destroy_cm_id, then we block that thread
> until all references are gone.  If the app returns non-zero in a
> callback for a given cm_id, then the CM owns destroying the cm_id and
> the application is done with it. That's the short of it.  Here's the
> long of it:

Note that the goal of this behavior is simply to ensure that no thread will 
touch any code in their callback after destroying their cm_id.  That is all that 
needs to be guaranteed, if this helps any.

- Sean




More information about the general mailing list