[ovs-dev] [PATCH v2] ovs-router: Fix flushing of local routes.
William Tu
u9012063 at gmail.com
Tue Jul 21 15:05:01 UTC 2020
On Tue, Jul 21, 2020 at 02:47:32PM +0200, Ilya Maximets wrote:
> Since commit 8e4e45887ec3, priority of 'local' route entries no
> longer matches with 'plen'. This should be taken into account
> while flushing cached routes, otherwise they will remain in OVS
> even after removing them from the system:
>
> # ifconfig eth0 11.0.0.1
> # ovs-appctl ovs/route/show
> --- A new route synchronized from kernel route table ---
> Cached: 11.0.0.1/32 dev eth0 SRC 11.0.0.1 local
> # ifconfig eth0 0
> # ovs-appctl ovs/route/show
> -- the new route entry is still in ovs route table ---
> Cached: 11.0.0.1/32 dev eth0 SRC 11.0.0.1 local
>
> CC: wenxu <wenxu at ucloud.cn>
> Fixes: 8e4e45887ec3 ("ofproto-dpif-xlate: makes OVS native tunneling honor tunnel-specified source addresses")
> Reported-by: Zheng Jingzhou <glovejmm at 163.com>
> Reported-at: https://mail.openvswitch.org/pipermail/ovs-dev/2020-July/373093.html
> Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
> ---
>
> Version 2:
> - Test moved to system-userspace testsuite.
> - Example in commit message updated with full ip address.
> - AUTHORS file updated.
Thanks, I tested it and applied to master, 2.14 - 2.10.
William
More information about the dev
mailing list