diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2020-02-26 17:14:26 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-26 20:58:33 -0800 |
commit | 933b4425086a81a928ce7d05856d2f1ee0bcf15e (patch) | |
tree | da4d8a859ee5b24b6c2081d4f4e2086050fc2540 /mm/memtest.c | |
parent | 07c6f9805f12f1bb538ef165a092b300350384aa (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 <rmk+kernel@armlinux.org.uk>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/memtest.c')
0 files changed, 0 insertions, 0 deletions