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

Michael S. Tsirkin mst at mellanox.co.il
Tue Oct 31 01:52:17 PST 2006


Quoting r. Or Gerlitz <ogerlitz at voltaire.com>:
> Subject: Re: [PATCH] for 2-6-19 rdma/addr: use client registration to fix module unload race
> 
> Sean Hefty wrote:
> > Require registration with ib_addr module to prevent caller from unloading
> > while a callback is in progress.
> 
> Sean,
> 
> Is there a conceptual/practical difference between the ib_addr and ib_cm 
> modules which enforces this client registration of the cma being an addr 
> consumer but not against the cm?
> 
> Does it happen to be the non existence of ib_addr id vs the existence of 
> an ib_cm id? if yes, wouldn't it better/easier to solve both in the same 
> method?
> 
> Or.

There's no difference - ib_cm also has this issue and needs a fix.

-- 
MST




More information about the general mailing list