summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorasomers <asomers@FreeBSD.org>2014-04-24 17:23:16 +0000
committerasomers <asomers@FreeBSD.org>2014-04-24 17:23:16 +0000
commit6e7494c7e1c3c8d00265fe530a28384c7ccdee68 (patch)
tree177ae04a4097c8f57e0c87e2c91602006082918b /tests
parent61397be4e94b19058e284c012b1cc474897b0050 (diff)
downloadFreeBSD-src-6e7494c7e1c3c8d00265fe530a28384c7ccdee68.zip
FreeBSD-src-6e7494c7e1c3c8d00265fe530a28384c7ccdee68.tar.gz
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/fibs_test.sh 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. PR: kern/187549 Reviewed by: melifaro MFC after: 3 weeks Sponsored by: Spectra Logic Corporation
Diffstat (limited to 'tests')
-rwxr-xr-xtests/sys/netinet/fibs_test.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/sys/netinet/fibs_test.sh b/tests/sys/netinet/fibs_test.sh
index d12ec44..d6756bd 100755
--- a/tests/sys/netinet/fibs_test.sh
+++ b/tests/sys/netinet/fibs_test.sh
@@ -116,7 +116,6 @@ loopback_and_network_routes_on_nondefault_fib_head()
loopback_and_network_routes_on_nondefault_fib_body()
{
- 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
ADDR="192.0.2.2"
OpenPOWER on IntegriCloud