]> git.proxmox.com Git - mirror_ovs.git/commit
ovs-vswitchd: Do not use system routing table with --disable-system.
authorBen Pfaff <blp@ovn.org>
Sun, 1 Apr 2018 00:12:55 +0000 (17:12 -0700)
committerBen Pfaff <blp@ovn.org>
Tue, 3 Apr 2018 18:10:37 +0000 (11:10 -0700)
commit898d7b0524c00cdf1cc7af85aade858bceb997e1
tree7f3afd9e21bc36aeb5e82769d6384d06a6623671
parent966574598a3cb86a6d799ca3715005763a7c9186
ovs-vswitchd: Do not use system routing table with --disable-system.

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:

led to a failure in that test.

Reported-by: Timothy Redaelli <tredaelli@redhat.com>
Reported-at: https://mail.openvswitch.org/pipermail/ovs-discuss/2018-March/046406.html
Tested-By: Timothy Redaelli <tredaelli@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/ovs-router.c
lib/ovs-router.h
vswitchd/ovs-vswitchd.c