From 54fad3f32b06d27edb6419eeefa6e93f8b3846fa Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Mon, 2 Nov 2020 17:33:01 +0100 Subject: kernel: add disabled CONFIG_IP6_NF_TARGET_MASQUERADE In kernel commit adf82accc5f5 ("netfilter: x_tables: merge ip and ipv6 masquerade modules") the config symbols IP_NF_TARGET_MASQUERADE and IP6_NF_TARGET_MASQUERADE have been demoted to simple backwards- compat options for NETFILTER_XT_TARGET_MASQUERADE. In netfilter.mk, this has already been updated in OpenWrt commit d1592306cc07 ("netfilter.mk: use CONFIG_NETFILTER_XT_TARGET_MASQUERADE"), having us use the new config symbol. However, enabling IP_NF_NAT or IP6_NF_NAT still makes the relevant legacy options selectable, so we need to disable them in generic config (and forget about them afterwards). Since CONFIG_IP_NF_TARGET_MASQUERADE is already present there, this just adds the missing CONFIG_IP6_NF_TARGET_MASQUERADE. Signed-off-by: Adrian Schmutzler --- target/linux/generic/config-5.4 | 1 + 1 file changed, 1 insertion(+) (limited to 'target') diff --git a/target/linux/generic/config-5.4 b/target/linux/generic/config-5.4 index 0be2288550..296e875a19 100644 --- a/target/linux/generic/config-5.4 +++ b/target/linux/generic/config-5.4 @@ -2380,6 +2380,7 @@ CONFIG_IO_STRICT_DEVMEM=y # CONFIG_IP6_NF_RAW is not set # CONFIG_IP6_NF_SECURITY is not set # CONFIG_IP6_NF_TARGET_HL is not set +# CONFIG_IP6_NF_TARGET_MASQUERADE is not set # CONFIG_IP6_NF_TARGET_REJECT is not set # CONFIG_IP6_NF_TARGET_SYNPROXY is not set # CONFIG_IPACK_BUS is not set -- cgit v1.2.3