aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorAndrew Lunn <[email protected]>2021-10-03 17:50:53 +0200
committerDavid S. Miller <[email protected]>2021-10-04 13:43:55 +0100
commitb44d52a50bc6f191f0ae03f65de8401f3ef039b3 (patch)
treea2a40619eddbfa6cc988c3b35514bb4db58e61f4 /tools/perf/scripts/python/sctop.py
parent7cd8b1542a7ba0720c5a0a85ed414a122015228b (diff)
dsa: tag_dsa: Fix mask for trunked packets
A packet received on a trunk will have bit 2 set in Forward DSA tagged frame. Bit 1 can be either 0 or 1 and is otherwise undefined and bit 0 indicates the frame CFI. Masking with 7 thus results in frames as being identified as being from a trunk when in fact they are not. Fix the mask to just look at bit 2. Fixes: 5b60dadb71db ("net: dsa: tag_dsa: Support reception of packets from LAG devices") Signed-off-by: Andrew Lunn <[email protected]> Reviewed-by: Vladimir Oltean <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions