[openib-general] Re: Re: [PATCH] ipoib_flush_paths
Michael S. Tsirkin
mst at mellanox.co.il
Wed Apr 5 17:20:51 PDT 2006
Quoting r. Sean Hefty <mshefty at ichips.intel.com>:
> 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
More information about the general
mailing list