mirror of
https://github.com/openwrt/openwrt.git
synced 2026-11-27 19:00:39 +04:00
A regression in #21078 caused ip_tables.ko and x_tables.ko to be installed
by both kmod-nf-ipt and kmod-iptables, which results in build errors with
linux-6.18:
* check_data_file_clashes: Package kmod-nf-ipt wants to install file .../ip_tables.ko
But that file is already provided by package * kmod-iptables
* check_data_file_clashes: Package kmod-nf-ipt wants to install file .../x_tables.ko
Fix: drop kmod-iptables and move its flags:
- CONFIG_IP_NF_IPTABLES_LEGACY -> kmod-nf-ipt
- CONFIG_NETFILTER_XTABLES_LEGACY -> kmod-nf-ipt
- CONFIG_IP6_NF_IPTABLES_LEGACY -> kmod-nf-ipt6
- CONFIG_BRIDGE_NF_EBTABLES_LEGACY -> kmod-ebtables
Also drop CONFIG_NETFILTER_XTABLES, because it is already present in
KCONFIG_NF_IPT.
Fixes: 94c7f4a25f ("packages: 6.18: update modules files")
Fixes: https://github.com/openwrt/openwrt/issues/23630
Link: https://github.com/openwrt/openwrt/pull/21078
Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23631
Signed-off-by: Robert Marko <robimarko@gmail.com>