On Fri, Nov 07, 2014 at 02:51:42PM -0800, Alex Wang wrote:
> Before this commit, the ofproto-dpif-xlate module uses ovs-rcu to
> postpone the destroy of previous configuration.  However, the delayed
> close of object like 'struct netdev' could cause failure in immediate
> re-add or reconfigure of the same device.
> 
> To fix the above issue, this commit makes the ofproto-dpif-xlate
> module call ovsrcu_synchronize(), which waits for all threads
> to finish the use of reference to previous config.  Then, the
> module can just directly destroy the previous config.
> 
> Reported-by: Cian Ferriter <[email protected]>
> Signed-off-by: Alex Wang <[email protected]>

Acked-by: Ben Pfaff <[email protected]>

I don't maintain dpif-netdev so I'll leave patch 2 for Pravin or
someone else who knows it better.
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to