]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ipv6: make ipv6_anycast_destination logic usable without dst_entry
authorFlorian Westphal <fw@strlen.de>
Tue, 24 Feb 2026 20:09:31 +0000 (21:09 +0100)
committerFlorian Westphal <fw@strlen.de>
Wed, 4 Mar 2026 10:45:44 +0000 (11:45 +0100)
commit831fb31b76aea1453229dfd7cbd1946ffe1c03b5
treec26e57bcb51c1fa6d2c1db3340b7ab15ac26c7be
parent7a135bf9903fe599aec1825ebc2c5b026fe1e38c
ipv6: make ipv6_anycast_destination logic usable without dst_entry

nft_fib_ipv6 uses ipv6_anycast_destination(), but upcoming patch removes
the dst_entry usage in favor of fib6_result.

Move the 'plen > 127' logic to a new helper and call it from the
existing one.

Signed-off-by: Florian Westphal <fw@strlen.de>
include/net/ip6_route.h