[openib-general] Re: [PATCH] fix race in mad.c

Michael S. Tsirkin mst at mellanox.co.il
Tue Jan 3 12:32:05 PST 2006


Quoting r. Sean Hefty <sean.hefty at intel.com>:
> There should be some way to fix this that doesn't involve walking a list on
> every completion.  Can't the cleanup be changed?  Either move destroying the QP
> after the workqueue flush or transition it to the error state before flushing.
> 
> - Sean
> 

What about resurrecting my idea to have ib_cq_sync()?
Then we could just set a flag to suppress queueing more work.

-- 
MST



More information about the general mailing list