Re: [ovs-dev] [PATCH] ofproto-dpif-upcall: Prevent revalidation during purge.

2014-12-29 Thread Joe Stringer
Thanks Alex, On 23 December 2014 at 19:04, Alex Wang wrote: > When 'ovs-appctl revalidator/purge' is called, the main thread > sweeps and destroys all ukeys and the associated datapath flows. > If, at the same time, revalidators are dumping those flows from > datapath, the ukey lookup of dumped f

[ovs-dev] [PATCH] ofproto-dpif-upcall: Prevent revalidation during purge.

2014-12-23 Thread Alex Wang
When 'ovs-appctl revalidator/purge' is called, the main thread sweeps and destroys all ukeys and the associated datapath flows. If, at the same time, revalidators are dumping those flows from datapath, the ukey lookup of dumped flows could fail due to deletion by main thread. This race will also c