aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2021-01-19 17:53:35 +0300
committerJakub Kicinski <[email protected]>2021-01-20 17:10:04 -0800
commit646188c9550f74454dfc172a347dad693e5bfc84 (patch)
tree38879d905567fff39e9d594dfc6fad9e2d1e4e61 /tools/perf/scripts/python/exported-sql-viewer.py
parent0fe2f273ab892bbba3f8d85e3f237bc0802e5709 (diff)
net: dsa: Fix off by one in dsa_loop_port_vlan_add()
The > comparison is intended to be >= to prevent reading beyond the end of the ps->vlans[] array. It doesn't affect run time though because the ps->vlans[] array has VLAN_N_VID (4096) elements and the vlan->vid cannot be > 4094 because it is checked earlier. Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Florian Fainelli <[email protected]> Link: https://lore.kernel.org/r/YAbyb5kBJQlpYCs2@mwanda Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions