On Wed, Jun 17, 2020 at 10:31:31AM +0200, Linus Walleij wrote: > The code in net/8021q/vlan.c, vlan_device_event() sets > VLAN 0 for a VLAN-capable ethernet device when it > comes up. > > Since the RTL8366 DSA switches must have a VLAN and > PVID set up for any packets to come through we have > already set up default VLAN for each port as part of > bringing the switch online. > > Make sure that setting VLAN 0 has the same effect > and does not try to actually tell the hardware to use > VLAN 0 on the port because that will not work. > > Cc: DENG Qingfang <[email protected]> > Cc: Mauri Sandberg <[email protected]> > Signed-off-by: Linus Walleij <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]> Andrew
