[OpenWrt-Devel] [PATCH] enable vlan filtering.
Felix Fietkau
nbd at openwrt.org
Fri Dec 12 11:24:56 EST 2014
On 2014-12-11 20:29, Jonathan Thibault wrote:
> This is quite useful when you want to encapsulate l2 into a vpn and
> other things of that nature.
>
> I've called the package containing the 'bridge' command bridge2 (from
> iproute2) to avoid conflicting with old package 'bridge' which should
> really be called 'bridge-utils' and which provides 'brctl'.
>
> It could be called 'iproute2-bridge' or something else, I'll let
> maintainers decide what is best.
Yes, I think it should be called iproute2-bridge.
> Maybe since brctl is now provided by busybox, there's no real need for
> the original 'bridge' package.
>
> diff --git a/package/kernel/linux/modules/netsupport.mk
> b/package/kernel/linux/modules/netsupport.mk
> index fc85e22..542462b 100644
> --- a/package/kernel/linux/modules/netsupport.mk
> +++ b/package/kernel/linux/modules/netsupport.mk
> @@ -86,7 +86,8 @@ define KernelPackage/bridge
> DEPENDS:=+kmod-stp
> KCONFIG:= \
> CONFIG_BRIDGE \
> - CONFIG_BRIDGE_IGMP_SNOOPING=y
> + CONFIG_BRIDGE_IGMP_SNOOPING=y \
> + CONFIG_BRIDGE_VLAN_FILTERING=y
> FILES:=$(LINUX_DIR)/net/bridge/bridge.ko
> AUTOLOAD:=$(call AutoLoad,11,bridge)
> endef
This needs to be done in the generic kernel config instead, since most
targets build bridge support into the kernel.
- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list