[ovs-dev] [PATCH 2/2] ovs-vswitchd: Do not use system routing table with --disable-system.
tredaelli at redhat.com
Tue Apr 3 17:14:25 UTC 2018
On Sat, 31 Mar 2018 17:12:55 -0700
Ben Pfaff <blp at ovn.org> wrote:
> The --disable-system option indicates that the user wants to avoid
> using the host's datapath. This is also a good indication that the
> user does not want to use other host resources such as the routing
> table, so this commit implements that.
> This fixes a failure in the test "ptap - recirculate after packet_type
> change" when the host routing table contained an entry that affected
> the generated flow. Without this patch, the commands:
> # ip tuntap add mode tun tun0
> # ip addr add dev tun0 10.8.0.10
> led to a failure in that test.
> Reported-by: Timothy Redaelli <tredaelli at redhat.com>
> Signed-off-by: Ben Pfaff <blp at ovn.org> ---
> lib/ovs-router.c | 19 +++++++++++++++++--
> lib/ovs-router.h | 3 +++
> vswitchd/ovs-vswitchd.c | 2 ++
> 3 files changed, 22 insertions(+), 2 deletions(-)
Applied the 2 patches and launched the test-suite (with the openvpn
tunnel up) and it passed, including "ptap - recirculate after
packet_type change" test.
Tested-By: Timothy Redaelli <tredaelli at redhat.com>
More information about the dev