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: v3: * Make sure that the generate from tools/testing/selftests/net/config * look the same before and after. (Jakub) 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 IP_NF_IPTABLES_LEGACY selectable netfilter: Make IP6_NF_IPTABLES_LEGACY selectable net/ipv4/netfilter/Kconfig | 19 +++++++++++-------- net/ipv6/netfilter/Kconfig | 22 ++++++++++++---------- tools/testing/selftests/net/config | 13 +++++++++++++ 3 files changed, 36 insertions(+), 18 deletions(-) -- 2.43.5