netfilter: xtables: fix IP6_NF_IPTABLES_LEGACY typo
Subsystems (3)
PATCH 1/1 netfilter: xtables: fix IP6_NF_IPTABLES_LEGACY typo
From: Arnd Bergmann <[email protected]>
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.
--- net/ipv4/netfilter/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/ipv4/netfilter/Kconfig +1 -1
@@ -217,7 +217,7 @@ config IP_NF_NAT default m if NETFILTER_ADVANCED=n select NF_NAT select NETFILTER_XT_NAT - select IP6_NF_IPTABLES_LEGACY + select IP_NF_IPTABLES_LEGACY help This enables the `nat' table in iptables. This allows masquerading, port forwarding and other forms of full Network Address Port
Signature · 1 line
2.39.2
Florian Westphal
maintainerQuoted 10 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
CONFIG_IP_NF_NATaccidentally selects the wrongNF_IPTABLES_LEGACYsymbol, 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_LEGACYinstead ofIP6_NF_IPTABLES_LEGACY.
Patch is correct but this is already fixed via 749d4ef0868c ("netfilter: xtables: fix up kconfig dependencies")