HomeFreeBSD

netinet6: allow ND entries creation for all directly-reachable

Description

netinet6: allow ND entries creation for all directly-reachable
destinations.

The current assumption is that kernel-handled rtadv prefixes along with
the interface address prefixes are the only prefixes considered in
the ND neighbor eligibility code.
Change this by allowing any non-gatewaye routes to be eligible. This
will allow DHCPv6-controlled routes to be correctly handled by
the ND code.
Refactor nd6_is_new_addr_neighbor() to enable more deterministic
performance in "found" case and remove non-needed
V_rt_add_addr_allfibs handling logic.

Reviewed By: kbowling
Differential Revision: https://reviews.freebsd.org/D23695
MFC after: 1 month

Details

Provenance
melifaroAuthored on Aug 10 2022, 11:51 AM
Reviewer
kbowling
Differential Revision
D23695: Allow ND entries creation for all routes without gateway.
Parents
rG8d6b3a857010: arm64: rockchip: pinctrl: Do not rely on the node name
Branches
Unknown
Tags
Unknown