Files
openwrt/package/kernel/linux/modules
Georgi Valkov ca454c00b6 netfilter: fix file clash during install of kmod-iptables
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>
2026-10-29 15:12:04 +01:00
..
2026-08-31 21:14:38 +02:00
2026-10-11 21:28:57 +02:00
2026-10-20 18:22:12 +02:00
2025-08-07 16:56:09 +02:00