Re: [PATCH net v4 0/2] ipv6: Honor suppress_prefixlength in fib6_lookup()
From: Ido Schimmel
Date: Tue Nov 17 2026 - 10:25:06 EST
On Tue, Nov 17, 2026 at 02:07:11PM +0100, Pablo Neira Ayuso wrote:
> As Paolo suggests you explore fixing this from nft_fib itself,
Why?
fib6_lookup() is the IPv6 counterpart of fib_lookup() which is used by
nft_fib_ipv4. The fact that it's not working with
'suppress_prefixlength' is an oversight, which is being fixed here.
Also, it's not like ip6_route_lookup() is working correctly with
'suppress_prefixlength' either. See the exception bug mentioned here
[1]. Unlike the issue being fixed here, it's not a regression (always
broken) and will be handled in net-next.
[1] https://lore.kernel.org/netdev/20261115154639.GA4121811@shredder/