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: v5: * Change the description of the legacy Kconfig (Pablo) v4: * Remove the "depends on" part, which may come later in a separate change, given its intrusive on how to configure selftests * https://lore.kernel.org/all/20240829161656.832208-1-leitao@xxxxxxxxxx/ 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@xxxxxxxxxx/ v2: * Added the new configuration in the selftest configs (Jakub) * Added this simple cover letter * https://lore.kernel.org/all/20240823174855.3052334-1-leitao@xxxxxxxxxx/ v1: * https://lore.kernel.org/all/20240822175537.3626036-1-leitao@xxxxxxxxxx/ Breno Leitao (2): netfilter: Make IP6_NF_IPTABLES_LEGACY selectable netfilter: Make IP_NF_IPTABLES_LEGACY selectable net/ipv4/netfilter/Kconfig | 8 +++++++- net/ipv6/netfilter/Kconfig | 9 ++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) -- 2.43.5