[ovs-dev] `ovs-ofctl replace-flows` unnecessarily replaces some flows

Ben Pfaff blp at ovn.org
Thu Jul 6 23:41:15 UTC 2017


On Fri, May 12, 2017 at 09:06:35AM -0700, Kevin Lin wrote:
> Hi,
> 
> We’re running OVS2.6.1. If we insert a flow with an action such as resubmit(,1), then call replace-flows with the same flow, it gets replaced. Specifically, the duration shown in `ovs-ofctl dump-flows` resets to zero.
> 
> I took a look around, and it looks like this is the same bug as one for `diff-flows` that Ben fixed awhile back (https://github.com/openvswitch/ovs/commit/98f7f427bf8bb339d4d1f1df1ff9b3310f8f5bc4 <https://github.com/openvswitch/ovs/commit/98f7f427bf8bb339d4d1f1df1ff9b3310f8f5bc4>).

You're right.

Thanks for the report, and sorry it took so long to properly go through
it.  I posted a fix:
        https://mail.openvswitch.org/pipermail/ovs-dev/2017-July/335032.html


More information about the dev mailing list