commit 501213686886baccd3280e10b8856a25d3517519
Author: Édouard Thuleau <email address hidden>
Date: Mon Mar 3 18:08:33 2014 +0100
OVS lib defer apply doesn't handle concurrency
The OVS lib deferred apply methods use a dict to save flows to add,
modify or delete when deffered apply is switched off.
If another thread adds, modifies or deletes flows on that dict during
another process called deffered_apply_off, its flows could be ignored.
This fix stash reference flows list and point the flows list to a new
cleared flows list. Then, it applies flows from the stashed flows list.
Reviewed: https:/ /review. openstack. org/63917 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=50121368688 6baccd3280e10b8 856a25d3517519
Committed: https:/
Submitter: Jenkins
Branch: master
commit 501213686886bac cd3280e10b8856a 25d3517519
Author: Édouard Thuleau <email address hidden>
Date: Mon Mar 3 18:08:33 2014 +0100
OVS lib defer apply doesn't handle concurrency
The OVS lib deferred apply methods use a dict to save flows to add,
modify or delete when deffered apply is switched off.
If another thread adds, modifies or deletes flows on that dict during
another process called deffered_apply_off, its flows could be ignored.
This fix stash reference flows list and point the flows list to a new
cleared flows list. Then, it applies flows from the stashed flows list.
Closes-bug: #1263866 d1474da7eb944fe ff7d84f1d73
Change-Id: Ia3c6ce181e1599