Quoting r. Sean Hefty <[EMAIL PROTECTED]>:
> Subject: Re: Re: [PATCH] ipoib_flush_paths
> 
> >>By the way, I was thinking about SA queries, and I came to a conclusion
> >>that we have an unfixable race at module unload: nothing I as the user of
> >>SA do in my callback can ensure that my callback is not still running
> >>when my module is unloaded.
> 
> I missed what you were saying before.  I agree, I don't see how you can 
> prevent your callback from completing.

OK, so what I propose is:

/**
 * ib_sa_flush - flush query callbacks in progress
 * @device:device to flush
 * @port_num: port number to flush
 */
void ib_sa_flush(struct ib_device *device, u8 port_num);

and in similiar fashion from addr.


-- 
MST
_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to