Previously, all VLANs (port-based or 802.1q) were sharing a single database in the...
authorImre Kaloz <kaloz@openwrt.org>
Fri, 21 Aug 2015 08:09:52 +0000 (08:09 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Fri, 21 Aug 2015 08:09:52 +0000 (08:09 +0000)
commit9cca6c5ad90330115ad3e550abf515c029e931fa
tree28e97aeac49c16b1738b267fb88daefd6056e738
parentf57484c4afb169625ce67e595a0d9a379d03caaa
Previously, all VLANs (port-based or 802.1q) were sharing a single database in the ATU. This created problems in the case of a system where two ports/devices share a MAC address (e.g. Linksys WRT1900AC eth0/eth1).

This also clears any bootloader-set FDB defaults. This had
caused issues creating port-based VLANs when mappings
overlapped previous VLANs. Packets destined to a port
not in the default port group flooded all ports.

Tested on a 88E6171 (Linksys EA4500) and 88E6172 ('1900AC)

Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 46699
target/linux/generic/files/drivers/net/phy/mvsw61xx.c
target/linux/generic/files/drivers/net/phy/mvsw61xx.h