]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Switch net.add_addr_allfibs default to 0.
authormelifaro <melifaro@FreeBSD.org>
Sun, 8 Nov 2020 18:27:49 +0000 (18:27 +0000)
committermelifaro <melifaro@FreeBSD.org>
Sun, 8 Nov 2020 18:27:49 +0000 (18:27 +0000)
commiteb7e0ae21396c0bb985a94eb37d8df5ccd8a0c1b
treec933c105d73ffdf6ab76618f9f1a313c2e4da0a3
parent01f632d428722b8489e620af68c03594f6955557
Switch net.add_addr_allfibs default to 0.

The goal of the fib support is to provide multiple independent
 routing tables, isolated from each other.
net.add_addr_allfibs default tries to shift gears in the opposite
 direction, unconditionally inserting all addresses to all of the fibs.

There are use cases when this is necessary, however this is not a
 default expected behaviour, especially compared to other implementations.

Provide WARNING message for the setups with multiple fibs to notify
 potential users of the feature.

Differential Revision: https://reviews.freebsd.org/D26076
UPDATING
sys/net/route/route_ifaddrs.c
sys/net/route/route_tables.c