diff options
| author | Ido Schimmel <[email protected]> | 2022-02-22 19:16:53 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-02-23 12:38:16 +0000 |
| commit | 42c9135fef9b0a6f82072494b0c00d625a2d5573 (patch) | |
| tree | 542b75a852ff7ea1876cbedae79ce80e807bd0b7 /include/linux/debugobjects.h | |
| parent | c035ea76c4e79dca72f31e0676c81b2937d6f0a3 (diff) | |
mlxsw: spectrum_span: Ignore VLAN entries not used by the bridge in mirroring
Only VLAN entries installed on the bridge device itself should be
considered when checking whether a packet with a specific VLAN can be
mirrored via a bridge device. VLAN entries only used to keep context
(i.e., entries with 'BRIDGE_VLAN_INFO_BRENTRY' unset) should be ignored.
Fix this by preventing mirroring when the VLAN entry does not have the
'BRIDGE_VLAN_INFO_BRENTRY' flag set.
Fixes: ddaff5047003 ("mlxsw: spectrum: remove guards against !BRIDGE_VLAN_INFO_BRENTRY")
Signed-off-by: Ido Schimmel <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions