From: Antonio Quartulli <[email protected]>

ipt-extra brings the physedev module inside.
physdev is used to filter bridged traffic but this cannot
work if CONFIG_BRIDGE_NETFILTER is disabled.

Enable this kernel option if ipt-extra is selected.

Signed-off-by: Antonio Quartulli <[email protected]>
---
 package/kernel/linux/modules/netfilter.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/netfilter.mk 
b/package/kernel/linux/modules/netfilter.mk
index 496a9f9..b124e18 100644
--- a/package/kernel/linux/modules/netfilter.mk
+++ b/package/kernel/linux/modules/netfilter.mk
@@ -369,7 +369,7 @@ $(eval $(call KernelPackage,ipt-iprange))
 
 define KernelPackage/ipt-extra
   TITLE:=Extra modules
-  KCONFIG:=$(KCONFIG_IPT_EXTRA)
+  KCONFIG:=$(KCONFIG_IPT_EXTRA) CONFIG_BRIDGE_NETFILTER=y
   FILES:=$(foreach mod,$(IPT_EXTRA-m),$(LINUX_DIR)/net/$(mod).ko)
   AUTOLOAD:=$(call AutoLoad,45,$(notdir $(IPT_EXTRA-m)))
   $(call AddDepends/ipt)
-- 
1.8.1.5
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to