aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorRussell King <[email protected]>2020-02-26 17:14:26 +0000
committerDavid S. Miller <[email protected]>2020-02-26 20:58:33 -0800
commit933b4425086a81a928ce7d05856d2f1ee0bcf15e (patch)
treeda4d8a859ee5b24b6c2081d4f4e2086050fc2540 /net/switchdev/switchdev.c
parent07c6f9805f12f1bb538ef165a092b300350384aa (diff)
net: dsa: mv88e6xxx: fix duplicate vlan warning
When setting VLANs on DSA switches, the VLAN is added to both the port concerned as well as the CPU port by dsa_slave_vlan_add(), as well as any DSA ports. If multiple ports are configured with the same VLAN ID, this triggers a warning on the CPU and DSA ports. Avoid this warning for CPU and DSA ports. Signed-off-by: Russell King <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions