Comment 3 for bug 1263866

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/63917
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=501213686886baccd3280e10b8856a25d3517519
Submitter: Jenkins
Branch: master

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.

    Closes-bug: #1263866
    Change-Id: Ia3c6ce181e1599d1474da7eb944feff7d84f1d73