[LEDE-DEV] [PATCH] kernel: add option to enable bridge VLAN filtering

Rafał Miłecki zajec5 at gmail.com
Tue Feb 7 00:10:03 PST 2017


From: Rafał Miłecki <rafal at milecki.pl>

It's needed to get proper bridging support with DSA drivers.

Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
 package/kernel/linux/modules/netsupport.mk | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index bed0828634..535ad0a6f4 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -97,6 +97,20 @@ endef
 
 $(eval $(call KernelPackage,bridge))
 
+define KernelPackage/bridge-vlan-filtering
+  SUBMENU:=$(NETWORK_SUPPORT_MENU)
+  TITLE:=Ethernet bridge VLAN filtering
+  DEPENDS:=kmod-bridge +kmod-8021q
+  KCONFIG:= \
+	CONFIG_BRIDGE_VLAN_FILTERING=y
+endef
+
+define KernelPackage/bridge-vlan-filtering/description
+ Support for VLAN filtering in bridge module
+endef
+
+$(eval $(call KernelPackage,bridge-vlan-filtering))
+
 define KernelPackage/llc
   SUBMENU:=$(NETWORK_SUPPORT_MENU)
   TITLE:=ANSI/IEEE 802.2 LLC support
-- 
2.11.0




More information about the Lede-dev mailing list