diff mbox series

[1/1,net-next] selftests/net: replace obsolete NFT_CHAIN configuration

Message ID 20200907161428.16847-1-fabf@skynet.be
State Awaiting Upstream
Delegated to: David Miller
Headers show
Series [1/1,net-next] selftests/net: replace obsolete NFT_CHAIN configuration | expand

Commit Message

Fabian Frederick Sept. 7, 2020, 4:14 p.m. UTC
Replace old parameters with global NFT_NAT from commit db8ab38880e0
("netfilter: nf_tables: merge ipv4 and ipv6 nat chain types")

Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
 tools/testing/selftests/net/config | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Jakub Kicinski Sept. 7, 2020, 9:16 p.m. UTC | #1
On Mon,  7 Sep 2020 18:14:28 +0200 Fabian Frederick wrote:
> Replace old parameters with global NFT_NAT from commit db8ab38880e0
> ("netfilter: nf_tables: merge ipv4 and ipv6 nat chain types")
> 
> Signed-off-by: Fabian Frederick <fabf@skynet.be>
> ---
>  tools/testing/selftests/net/config | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/tools/testing/selftests/net/config b/tools/testing/selftests/net/config
> index 3b42c06b59858..5a57ea02802df 100644
> --- a/tools/testing/selftests/net/config
> +++ b/tools/testing/selftests/net/config
> @@ -24,8 +24,7 @@ CONFIG_IP_NF_NAT=m
>  CONFIG_NF_TABLES=m
>  CONFIG_NF_TABLES_IPV6=y
>  CONFIG_NF_TABLES_IPV4=y
> -CONFIG_NFT_CHAIN_NAT_IPV6=m
> -CONFIG_NFT_CHAIN_NAT_IPV4=m
> +CONFIG_NFT_NAT=m
>  CONFIG_NET_SCH_FQ=m
>  CONFIG_NET_SCH_ETF=m
>  CONFIG_NET_SCH_NETEM=y

Pablo, looks like netfilter business, I'm leaving this patch to you
unless you say otherwise.
Pablo Neira Ayuso Sept. 8, 2020, 10:29 a.m. UTC | #2
On Mon, Sep 07, 2020 at 06:14:28PM +0200, Fabian Frederick wrote:
> Replace old parameters with global NFT_NAT from commit db8ab38880e0
> ("netfilter: nf_tables: merge ipv4 and ipv6 nat chain types")

Applied.

Please, Cc: netfilter-devel@vger.kernel.org next time.

Thanks.
diff mbox series

Patch

diff --git a/tools/testing/selftests/net/config b/tools/testing/selftests/net/config
index 3b42c06b59858..5a57ea02802df 100644
--- a/tools/testing/selftests/net/config
+++ b/tools/testing/selftests/net/config
@@ -24,8 +24,7 @@  CONFIG_IP_NF_NAT=m
 CONFIG_NF_TABLES=m
 CONFIG_NF_TABLES_IPV6=y
 CONFIG_NF_TABLES_IPV4=y
-CONFIG_NFT_CHAIN_NAT_IPV6=m
-CONFIG_NFT_CHAIN_NAT_IPV4=m
+CONFIG_NFT_NAT=m
 CONFIG_NET_SCH_FQ=m
 CONFIG_NET_SCH_ETF=m
 CONFIG_NET_SCH_NETEM=y