[openib-general] RE: RE: Re: [PATCH] ipoib_flush_paths

Sean Hefty sean.hefty at intel.com
Thu Apr 6 09:55:35 PDT 2006


>> Actually, it turned out to be the simplest solution - and quite
>> elegant since there's no room for mistakes: if query is going to be running
>> this means module is still loaded so we can take a reference to it
>> without races.
>
>And Here's the patch to ib_addr. Sean, Roland, please comment.


I like this approach, especially given the current implementations.  Roland,
Hal?  What are your thoughts?

Note that ib_cm and rdma_cm technically have the same issue, since cm_id's can
be destroyed by returning non-zero from a callback.  I.e. a user of those
interfaces isn't forced to call anything when unloading.

- Sean



More information about the general mailing list