Skip to contentSkip to conversation

net: dsa: b53: Keep CPU port as tagged in all VLANs

PATCH David Miller 1 participant 1 message Oct 5, 2018 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

David Miller

author maintainer Applied
#1 lore raw

From: Florian Fainelli <[email protected]>
Date: Thu, 4 Oct 2018 20:24:13 -0700

Quoted 6 lines

Commit c499696e7901 ("net: dsa: b53: Stop using dev->cpu_port incorrectly") was a bit too trigger happy in removing the CPU port from the VLAN membership because we rely on DSA to program the CPU port VLAN, which it does, except it does not bother itself with tagged/untagged and just usese untagged.

Quoted 7 lines

Having the CPU port "follow" the user ports tagged/untagged is not great and does not allow for properly differentiating, so keep the CPU port tagged in all VLANs.

Fixes c499696e7901 ("net: dsa: b53: Stop using dev->cpu_port incorrectly")

Applied.