diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-07-26 19:55:33 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-27 00:35:22 +0300 |
commit | 19fa937a391e58f4bb74ea52a5cdb4f259e67db2 (patch) | |
tree | 14b482829f2597b2d7c1545c08f5e638e8179c5b /net | |
parent | 4fbc08bd366595dab4bedfec08021bad8609ba77 (diff) | |
download | linux-19fa937a391e58f4bb74ea52a5cdb4f259e67db2.tar.xz |
net: dsa: sja1105: deny more than one VLAN-aware bridge
With tag_sja1105.c's only ability being to perform an imprecise RX
procedure and identify whether a packet comes from a VLAN-aware bridge
or not, we have no way to determine whether a packet with VLAN ID 5
comes from, say, br0 or br1. Actually we could, but it would mean that
we need to restrict all VLANs from br0 to be different from all VLANs
from br1, and this includes the default_pvid, which makes a setup with 2
VLAN-aware bridges highly imprectical.
The fact of the matter is that this isn't even that big of a practical
limitation, since even with a single VLAN-aware bridge we can pretty
much enforce forwarding isolation based on the VLAN port membership.
So in the end, tell the user that they need to model their setup using a
single VLAN-aware bridge.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions