summaryrefslogtreecommitdiffstats
path: root/tools/thermal/tmon/tmon.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2022-02-22 18:16:53 +0100
committerDavid S. Miller <davem@davemloft.net>2022-02-23 13:38:16 +0100
commit42c9135fef9b0a6f82072494b0c00d625a2d5573 (patch)
tree542b75a852ff7ea1876cbedae79ce80e807bd0b7 /tools/thermal/tmon/tmon.c
parentmlxsw: core: Prevent trap group setting if driver does not support EMAD (diff)
downloadlinux-42c9135fef9b0a6f82072494b0c00d625a2d5573.tar.xz
linux-42c9135fef9b0a6f82072494b0c00d625a2d5573.zip
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 <idosch@nvidia.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/thermal/tmon/tmon.c')
0 files changed, 0 insertions, 0 deletions