path: root/tests
diff options
authorasomers <>2014-06-06 21:45:14 +0000
committerasomers <>2014-06-06 21:45:14 +0000
commit322a1ee4a01630c2c5cb0ecfd4cb5b7aabe46793 (patch)
tree14298f8dc6491de3d34d500b9b3f6e24bfc4b814 /tests
parenta8aa481895641687bc168b6283d7521e52a48280 (diff)
MFC r264887
Fix host and network routes for new interfaces when net.add_addr_allfibs=0 sys/net/route.c In rtinit1, use the interface fib instead of the process fib. The latter wasn't very useful because ifconfig(8) is usually invoked with the default process fib. Changing ifconfig(8) to use setfib(2) would be redundant, because it already sets the interface fib. tests/sys/netinet/ Clear the expected ATF failure sys/net/if.c Pass the interface fib in calls to rtrequest1_fib and rtalloc1_fib sys/netinet/in.c sys/net/if_var.h Add a fibnum argument to ifa_switch_loopback_route, a subroutine of in_scrubprefix. Pass it the interface fib.
Diffstat (limited to 'tests')
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/sys/netinet/ b/tests/sys/netinet/
index a6dbe42..95a8faa 100755
--- a/tests/sys/netinet/
+++ b/tests/sys/netinet/
@@ -116,7 +116,6 @@ loopback_and_network_routes_on_nondefault_fib_head()
- atf_expect_fail "kern/187549 Host and network routes for a new interface appear in the wrong FIB"
# Configure the TAP interface to use an RFC5737 nonrouteable address
# and a non-default fib
OpenPOWER on IntegriCloud