>> 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 _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
