diff options
author | Elliot Ayrey <elliot.ayrey@alliedtelesis.co.nz> | 2024-07-12 13:31:33 +1200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-07-15 13:40:28 +0100 |
commit | 0a1868b93fad5938dbcca77286b25bf211c49f7a (patch) | |
tree | 4dcdf724becbc1ffe69c47bdab2a3cc12b6b24d2 /net/packet | |
parent | 250b8b86b683e6b52b58514bff94146a47d3251f (diff) | |
download | lwn-0a1868b93fad5938dbcca77286b25bf211c49f7a.tar.gz lwn-0a1868b93fad5938dbcca77286b25bf211c49f7a.zip |
net: bridge: mst: Check vlan state for egress decision
If a port is blocking in the common instance but forwarding in an MST
instance, traffic egressing the bridge will be dropped because the
state of the common instance is overriding that of the MST instance.
Fix this by skipping the port state check in MST mode to allow
checking the vlan state via br_allowed_egress(). This is similar to
what happens in br_handle_frame_finish() when checking ingress
traffic, which was introduced in the change below.
Fixes: ec7328b59176 ("net: bridge: mst: Multiple Spanning Tree (MST) mode")
Signed-off-by: Elliot Ayrey <elliot.ayrey@alliedtelesis.co.nz>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions