aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorOleksij Rempel <[email protected]>2023-10-06 13:58:22 +0200
committerPaolo Abeni <[email protected]>2023-10-10 11:12:01 +0200
commit59fe651753fb897ebe0ac91c19cf503e7a551632 (patch)
tree3b70005a3038b8d30c29084d1d1c9be4378f4f87 /tools/perf/scripts/python/flamegraph.py
parentc41a38ef3bf78a86f94c3f67a19368a98c10ee2c (diff)
net: dsa: microchip: Fix uninitialized var in ksz9477_acl_move_entries()
Address an issue in ksz9477_acl_move_entries() where, in the scenario (src_idx == dst_idx), ksz9477_validate_and_get_src_count() returns 0, leading to usage of uninitialized src_count and dst_count variables, which causes undesired behavior as it attempts to move ACL entries around. Fixes: 002841be134e ("net: dsa: microchip: Add partial ACL support for ksz9477 switches") Reported-by: Dan Carpenter <[email protected]> Suggested-by: Vladimir Oltean <[email protected]> Signed-off-by: Oleksij Rempel <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions