Re: [PATCH] netfilter: xtables: fix IP6_NF_IPTABLES_LEGACY typo

From: Florian Westphal
Date: Sat Feb 24 2024 - 08:23:40 EST


Arnd Bergmann <arnd@xxxxxxxxxx> wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> CONFIG_IP_NF_NAT accidentally selects the wrong NF_IPTABLES_LEGACY
> symbol, which ends up causing a link failure in some configurations:
>
> WARNING: unmet direct dependencies detected for IP6_NF_IPTABLES_LEGACY
> Depends on [n]: NET [=y] && INET [=y] && IPV6 [=n] && NETFILTER [=y]
> Selected by [m]:
>
> Select IP_NF_IPTABLES_LEGACY instead of IP6_NF_IPTABLES_LEGACY.

Patch is correct but this is already fixed via
749d4ef0868c ("netfilter: xtables: fix up kconfig dependencies")