[openib-general] [PATCH] for 2-6-19 rdma/addr: use client registration to fix module unload race

Sean Hefty mshefty at ichips.intel.com
Wed Nov 1 15:18:27 PST 2006


Roland Dreier wrote:
> I think this is actually a good point for the CM case at least.
> Clients already have something registered with the CM (namely the CM
> ID itself), so if we required all consumers to destroy their IDs
> explicitly, then there's no reason to add additional client
> registration.

The issue is more related to cm_id's that are created when a new connection 
request arrives.  For the user to destroy the new id's, they either need to be 
able to queue them somewhere for later destruction, call destroy from the 
callback, or indicate that the id's should be destroyed when the callback returns.

- Sean




More information about the general mailing list