[LEDE-DEV] [PATCH] kernel: add option to enable bridge VLAN filtering
Felix Fietkau
nbd at nbd.name
Tue Feb 7 00:37:04 PST 2017
On 2017-02-07 09:10, Rafał Miłecki wrote:
> 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))
Please don't add a bogus kernel module package, let's just enable this
option by default.
- Felix
More information about the Lede-dev
mailing list