mbox series

[nf-next,v4,0/2] netfilter: Make IP_NF_IPTABLES_LEGACY selectable

Message ID 20240829161656.832208-1-leitao@debian.org (mailing list archive)
Headers show
Series netfilter: Make IP_NF_IPTABLES_LEGACY selectable | expand

Message

Breno Leitao Aug. 29, 2024, 4:16 p.m. UTC
These two patches make IP_NF_IPTABLES_LEGACY and IP6_NF_IPTABLES_LEGACY
Kconfigs user selectable, avoiding creating an extra dependency by
enabling some other config that would select IP{6}_NF_IPTABLES_LEGACY.

Changelog:

v4:
 * Remove the "depends on" part, which may come later in a separate
   change, given its intrusive on how to configure selftests

v3:
 * Make sure that the generate from  tools/testing/selftests/net/config
   look the same before and after. (Jakub)
 * https://lore.kernel.org/all/20240827145242.3094777-1-leitao@debian.org/

v2:
 * Added the new configuration in the selftest configs (Jakub)
 * Added this simple cover letter
 * https://lore.kernel.org/all/20240823174855.3052334-1-leitao@debian.org/

v1:
 * https://lore.kernel.org/all/20240822175537.3626036-1-leitao@debian.org/

Breno Leitao (2):
  netfilter: Make IP6_NF_IPTABLES_LEGACY selectable
  netfilter: Make IP_NF_IPTABLES_LEGACY selectable

 net/ipv4/netfilter/Kconfig | 7 ++++++-
 net/ipv6/netfilter/Kconfig | 8 +++++++-
 2 files changed, 13 insertions(+), 2 deletions(-)

Comments

Jakub Kicinski Aug. 30, 2024, 6:18 p.m. UTC | #1
On Thu, 29 Aug 2024 09:16:53 -0700 Breno Leitao wrote:
> These two patches make IP_NF_IPTABLES_LEGACY and IP6_NF_IPTABLES_LEGACY
> Kconfigs user selectable, avoiding creating an extra dependency by
> enabling some other config that would select IP{6}_NF_IPTABLES_LEGACY.

FWIW I can confirm this version causes no disturbances to known CIs.