]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: b53: Ensure the default VID is untagged
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 14 Feb 2020 23:26:19 +0000 (15:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Feb 2020 03:22:47 +0000 (19:22 -0800)
commit8bc0b735c534a5519fdef0d3f6131dea86d205af
treeaead72c559e29e12f803cc5f42c310cbf62ba8b6
parent40694bb6f0369acdc88ddaeae81e7c9986fa690e
net: dsa: b53: Ensure the default VID is untagged

We need to ensure that the default VID is untagged otherwise the switch
will be sending tagged frames and the results can be problematic. This
is especially true with b53 switches that use VID 0 as their default
VLAN since VID 0 has a special meaning.

Fixes: dd24d1e47c06 ("net: dsa: b53: Fix default VLAN ID")
Fixes: 6ecf933fb3e9 ("net: dsa: Add ndo_vlan_rx_{add, kill}_vid implementation")
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