summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorasomers <asomers@FreeBSD.org>2014-06-06 17:42:55 +0000
committerasomers <asomers@FreeBSD.org>2014-06-06 17:42:55 +0000
commita03c4d3869334f3d51152ee2d90066a1912afa22 (patch)
treebca9e734b3894cb019136e52fb43262294aee20a /tests/lib
parent83925746a3e67ab79613b86ee4d2703eaa191e19 (diff)
downloadFreeBSD-src-a03c4d3869334f3d51152ee2d90066a1912afa22.zip
FreeBSD-src-a03c4d3869334f3d51152ee2d90066a1912afa22.tar.gz
MFC r263779
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.
Diffstat (limited to 'tests/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud