]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: b53: Do not program CPU port's PVID
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 15 Feb 2019 20:16:53 +0000 (12:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Feb 2019 04:37:54 +0000 (20:37 -0800)
commit58bc377956136767d3ecc6a90cfad7e679236ba4
tree8b31143303d9db45441ea219f8fbcf10b272f6a4
parent49e8ea8068c1dbd9c2d91f7e625a6967d2ea25cb
net: dsa: b53: Do not program CPU port's PVID

The CPU port is special and does not need to obey VLAN restrictions as
far as untagged traffic goes, also, having the CPU port be part of a
particular PVID is against the idea of keeping it tagged in all VLANs.

Fixes: 846cdda028bb ("net: dsa: b53: Keep CPU port as tagged in all VLANs")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/b53/b53_common.c