summaryrefslogtreecommitdiffstats
path: root/tests/sys
diff options
context:
space:
mode:
authorasomers <asomers@FreeBSD.org>2014-03-26 22:46:03 +0000
committerasomers <asomers@FreeBSD.org>2014-03-26 22:46:03 +0000
commit0b79334339fb4e8a621ab2cb4ed45bb729778613 (patch)
tree5c8439f7c5a34228e3acf856feb4ae38c790907e /tests/sys
parent905ed8bc7562473f1fbb0f4b4ae416d1819c2a6c (diff)
downloadFreeBSD-src-0b79334339fb4e8a621ab2cb4ed45bb729778613.zip
FreeBSD-src-0b79334339fb4e8a621ab2cb4ed45bb729778613.tar.gz
Correct ARP update handling when the routes for network interfaces are
restricted to a single FIB in a multifib system. Restricting an interface's routes to the FIB to which it is assigned (by setting net.add_addr_allfibs=0) causes ARP updates to fail with "arpresolve: can't allocate llinfo for x.x.x.x". This is due to the ARP update code hard coding it's lookup for existing routing entries to FIB 0. sys/netinet/in.c: When dealing with RTM_ADD (add route) requests for an interface, use the interface's assigned FIB instead of the default (FIB 0). sys/netinet/if_ether.c: In arpresolve(), enhance error message generated when an lla_lookup() fails so that the interface causing the error is visible in logs. tests/sys/netinet/fibs_test.sh Clear ATF expected error. PR: kern/167947 Submitted by: Nikolay Denev <ndenev@gmail.com> (previous version) Reviewed by: melifaro MFC after: 3 weeks Sponsored by: Spectra Logic Corporation
Diffstat (limited to 'tests/sys')
-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 5b58f71..d12ec44 100755
--- a/tests/sys/netinet/fibs_test.sh
+++ b/tests/sys/netinet/fibs_test.sh
@@ -55,7 +55,6 @@ arpresolve_checks_interface_fib_head()
}
arpresolve_checks_interface_fib_body()
{
- atf_expect_fail "kern/167947 arpresolve checks only the default FIB for the interface route"
# Configure the TAP interfaces to use a RFC5737 nonrouteable addresses
# and a non-default fib
ADDR0="192.0.2.2"
OpenPOWER on IntegriCloud