From: Phil Sutter <phil@nwl.cc>
To: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: netfilter-devel@vger.kernel.org, coreteam@netfilter.org,
linux-rt-devel@lists.linux.dev,
Pablo Neira Ayuso <pablo@netfilter.org>,
Jozsef Kadlecsik <kadlec@netfilter.org>,
Florian Westphal <fw@strlen.de>,
Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [net-next v3 1/3] netfilter: replace select by depends on for IP{6}_NF_IPTABLES_LEGACY
Date: Wed, 26 Mar 2025 18:09:18 +0100 [thread overview]
Message-ID: <Z-Q0vi3r5aHxY8Pv@orbyte.nwl.cc> (raw)
In-Reply-To: <20250325165832.3110004-2-bigeasy@linutronix.de>
Hi Bigeasy!
On Tue, Mar 25, 2025 at 05:58:30PM +0100, Sebastian Andrzej Siewior wrote:
> From: Pablo Neira Ayuso <pablo@netfilter.org>
>
> Relax dependencies on iptables legacy, replace select by depends on,
> this should cause no harm to existing kernel configs and users can still
> toggle IP{6}_NF_IPTABLES_LEGACY in any case.
>
> [fw: Replace depends on BRIDGE_NF_EBTABLES_LEGACY with select]
I don't get this remark: The three chunks dealing with that symbol do
the opposite, namely replacing 'select ...' with 'depends on ...'. Do I
miss the point or is this a leftover?
> diff --git a/net/bridge/netfilter/Kconfig b/net/bridge/netfilter/Kconfig
> index f16bbbbb94817..a6770845d3aba 100644
> --- a/net/bridge/netfilter/Kconfig
> +++ b/net/bridge/netfilter/Kconfig
> @@ -65,7 +65,7 @@ if BRIDGE_NF_EBTABLES
> #
> config BRIDGE_EBT_BROUTE
> tristate "ebt: broute table support"
> - select BRIDGE_NF_EBTABLES_LEGACY
> + depends on BRIDGE_NF_EBTABLES_LEGACY
> help
> The ebtables broute table is used to define rules that decide between
> bridging and routing frames, giving Linux the functionality of a
> @@ -76,7 +76,7 @@ config BRIDGE_EBT_BROUTE
>
> config BRIDGE_EBT_T_FILTER
> tristate "ebt: filter table support"
> - select BRIDGE_NF_EBTABLES_LEGACY
> + depends on BRIDGE_NF_EBTABLES_LEGACY
> help
> The ebtables filter table is used to define frame filtering rules at
> local input, forwarding and local output. See the man page for
> @@ -86,7 +86,7 @@ config BRIDGE_EBT_T_FILTER
>
> config BRIDGE_EBT_T_NAT
> tristate "ebt: nat table support"
> - select BRIDGE_NF_EBTABLES_LEGACY
> + depends on BRIDGE_NF_EBTABLES_LEGACY
> help
> The ebtables nat table is used to define rules that alter the MAC
> source address (MAC SNAT) or the MAC destination address (MAC DNAT).
Cheers, Phil
next prev parent reply other threads:[~2025-03-26 17:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-25 16:58 [net-next v3 0/3] Disable LEGACY iptables on PREEMPT_RT Sebastian Andrzej Siewior
2025-03-25 16:58 ` [net-next v3 1/3] netfilter: replace select by depends on for IP{6}_NF_IPTABLES_LEGACY Sebastian Andrzej Siewior
2025-03-26 17:09 ` Phil Sutter [this message]
2025-03-26 17:11 ` Sebastian Andrzej Siewior
2025-03-25 16:58 ` [net-next v3 2/3] netfilter: Let IP6_NF_IPTABLES_LEGACY select IP6_NF_IPTABLES Sebastian Andrzej Siewior
2025-03-25 16:58 ` [net-next v3 3/3] netfilter: Introduce NETFILTER_LEGACY to group all legacy code Sebastian Andrzej Siewior
2025-03-25 19:48 ` [net-next v3 0/3] Disable LEGACY iptables on PREEMPT_RT Florian Westphal
2025-03-26 7:47 ` Sebastian Andrzej Siewior
2025-03-26 21:18 ` Pablo Neira Ayuso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z-Q0vi3r5aHxY8Pv@orbyte.nwl.cc \
--to=phil@nwl.cc \
--cc=bigeasy@linutronix.de \
--cc=coreteam@netfilter.org \
--cc=fw@strlen.de \
--cc=kadlec@netfilter.org \
--cc=linux-rt-devel@lists.linux.dev \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).