summaryrefslogtreecommitdiff
path: root/drivers/net/wan
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2016-02-05 19:07:14 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-02-13 11:07:48 (GMT)
commit66d9cd0f5422bf35e3897b2022858dafd8c6abd2 (patch)
tree2a7deba4775bbe55492a52c8da32072e2c9e742c /drivers/net/wan
parent3c06f08b657205489d408ee7cbbcbbb1d8a6bf85 (diff)
downloadlinux-66d9cd0f5422bf35e3897b2022858dafd8c6abd2.tar.xz
net: dsa: mv88e6xxx: do not leave reserved VLANs
BRIDGE_VLAN_FILTERING automatically adds a newly bridged port to the VLAN with the bridge's default_pvid. The mv88e6xxx driver currently reserves VLANs 4000+ for unbridged ports isolation. When a port joins a bridge, it leaves its reserved VLAN. When a port leaves a bridge, it joins again its reserved VLAN. But if the VLAN filtering is disabled, or if this hardware VLAN is already in use, the bridged port ends up with no default VLAN, and the communication with the CPU is thus broken. To fix this, make a port join its reserved VLAN once on setup, never leave it, and restore its PVID after another one was eventually used. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Tested-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan')
0 files changed, 0 insertions, 0 deletions