From: Lukas Bulwahn <lbulwahn@redhat.com>
To: "David S . Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Simon Horman <horms@kernel.org>,
Pablo Neira Ayuso <pablo@netfilter.org>,
Florian Westphal <fw@strlen.de>, Phil Sutter <phil@nwl.cc>,
David Ahern <dsahern@kernel.org>,
netdev@vger.kernel.org, netfilter-devel@vger.kernel.org,
coreteam@netfilter.org
Cc: Geert Uytterhoeven <geert@linux-m68k.org>,
Paul Walmsley <pjw@kernel.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Alexandre Ghiti <alex@ghiti.fr>,
Heiko Carstens <hca@linux.ibm.com>,
Vasily Gorbik <gor@linux.ibm.com>,
Alexander Gordeev <agordeev@linux.ibm.com>,
Christian Borntraeger <borntraeger@linux.ibm.com>,
Sven Schnelle <svens@linux.ibm.com>,
linux-riscv@lists.infradead.org, linux-m68k@lists.linux-m68k.org,
linux-s390@vger.kernel.org, kernel-janitors@vger.kernel.org,
linux-kernel@vger.kernel.org,
Lukas Bulwahn <lukas.bulwahn@redhat.com>
Subject: [RFC PATCH 0/5] net: make config options NF_LOG_{ARP,IPV4,IPV6} transitional
Date: Mon, 12 Jan 2026 13:54:26 +0100 [thread overview]
Message-ID: <20260112125432.61218-1-lukas.bulwahn@redhat.com> (raw)
Hi,
This RFC patch series makes the config options NF_LOG_{ARP,IPV4,IPV6}
transitional. Recently, Kees Cook added a feature to kconfig to assist
transitioning deprecated config options. Here is a first RFC patch to apply
this feature for NF_LOG_{ARP,IPV4,IPV6}.
The plan is to mark all deprecated config options in net transitional, and
update the kernel configurations in the kernel tree to not use those
transitional config options. Then we leave these transitional config
options for a year or two to allow users that only update from one LTS to
the next to see that these config options are deprecated. After such a
grace period, we can finally drop these transitional config options.
This patch series is the manifestation of that plan for the three
deprecated options NF_LOG_{ARP,IPV4,IPV6}. If there is general agreement
that this is how deprecated config options are to be handled, then please
apply the patches 1 and 2 to the net-next tree.
Note that for the time being, as there is no dedicated kernel-wide Kconfig
file for collecting transitional config options right now, so simply adding
them at the end of the net/Kconfig file seems the best choice for now.
The patches 3, 4 and 5 are added here to understand the complete treewide
change to transition the deprecated config options; I expect the patches
3, 4 and 5 to be applied by the corresponding arch maintainers, though.
Note that all patches in this series can be applied independently from each
other without causing any regression, i.e., if any patch 2 to 5 is applied
without patch 1, the resulting kernel configurations still enable the same
functionality as before as well as with patch 1 applied.
Once the general approach and patches are accepted, I plan to send some
further patch series to transition more net config options. My current
investigation identified that these further config options in net can be
transitioned:
IP_NF_MATCH_ECN -> NETFILTER_XT_MATCH_ECN
IP_NF_MATCH_TTL -> NETFILTER_XT_MATCH_HL
IP_NF_TARGET_MASQUERADE -> NETFILTER_XT_TARGET_MASQUERADE
IP_NF_TARGET_NETMAP -> NETFILTER_XT_TARGET_NETMAP
IP_NF_TARGET_REDIRECT -> NETFILTER_XT_TARGET_REDIRECT
IP_NF_TARGET_TTL -> NETFILTER_XT_TARGET_HL
NETFILTER_XT_TARGET_CONNMARK -> NETFILTER_XT_CONNMARK
NETFILTER_XT_TARGET_MARK -> NETFILTER_XT_MARK
Lukas
Lukas Bulwahn (5):
net: make configs NF_LOG_{ARP,IPV4,IPV6} transitional
selftests: net: replace deprecated NF_LOG configs by NF_LOG_SYSLOG
m68k: defconfig: replace deprecated NF_LOG configs by NF_LOG_SYSLOG
riscv: defconfig: replace deprecated NF_LOG configs by NF_LOG_SYSLOG
s390/configs: replace deprecated NF_LOG configs by NF_LOG_SYSLOG
arch/m68k/configs/amiga_defconfig | 3 +--
arch/m68k/configs/apollo_defconfig | 3 +--
arch/m68k/configs/atari_defconfig | 3 +--
arch/m68k/configs/bvme6000_defconfig | 3 +--
arch/m68k/configs/hp300_defconfig | 3 +--
arch/m68k/configs/mac_defconfig | 3 +--
arch/m68k/configs/multi_defconfig | 3 +--
arch/m68k/configs/mvme147_defconfig | 3 +--
arch/m68k/configs/mvme16x_defconfig | 3 +--
arch/m68k/configs/q40_defconfig | 3 +--
arch/m68k/configs/sun3_defconfig | 3 +--
arch/m68k/configs/sun3x_defconfig | 3 +--
arch/riscv/configs/defconfig | 4 +---
arch/s390/configs/debug_defconfig | 2 +-
arch/s390/configs/defconfig | 2 +-
net/Kconfig | 21 ++++++++++++++++++++
net/ipv4/netfilter/Kconfig | 16 ---------------
net/ipv6/netfilter/Kconfig | 8 --------
net/netfilter/Kconfig | 1 +
tools/testing/selftests/net/netfilter/config | 3 +--
20 files changed, 38 insertions(+), 55 deletions(-)
--
2.52.0
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next reply other threads:[~2026-01-12 12:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-12 12:54 Lukas Bulwahn [this message]
2026-01-12 12:54 ` [RFC PATCH 1/5] net: make configs NF_LOG_{ARP,IPV4,IPV6} transitional Lukas Bulwahn
2026-01-12 12:54 ` [RFC PATCH 2/5] selftests: net: replace deprecated NF_LOG configs by NF_LOG_SYSLOG Lukas Bulwahn
2026-01-12 12:54 ` [RFC PATCH 3/5] m68k: defconfig: " Lukas Bulwahn
2026-01-12 12:54 ` [RFC PATCH 4/5] riscv: " Lukas Bulwahn
2026-01-12 12:54 ` [RFC PATCH 5/5] s390/configs: " Lukas Bulwahn
2026-01-12 17:13 ` [RFC PATCH 0/5] net: make config options NF_LOG_{ARP,IPV4,IPV6} transitional Florian Westphal
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=20260112125432.61218-1-lukas.bulwahn@redhat.com \
--to=lbulwahn@redhat.com \
--cc=agordeev@linux.ibm.com \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=borntraeger@linux.ibm.com \
--cc=coreteam@netfilter.org \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=edumazet@google.com \
--cc=fw@strlen.de \
--cc=geert@linux-m68k.org \
--cc=gor@linux.ibm.com \
--cc=hca@linux.ibm.com \
--cc=horms@kernel.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@lists.linux-m68k.org \
--cc=linux-riscv@lists.infradead.org \
--cc=linux-s390@vger.kernel.org \
--cc=lukas.bulwahn@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=pablo@netfilter.org \
--cc=palmer@dabbelt.com \
--cc=phil@nwl.cc \
--cc=pjw@kernel.org \
--cc=svens@linux.ibm.com \
/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