summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorSerhat Kumral <serhatkumral1@gmail.com>2026-10-17 21:50:28 +0300
committerLeon Romanovsky <leon@kernel.org>2026-10-18 09:25:49 -0400
commit9dd8b9a337af844291edcd9139c927d0f7958dbe (patch)
tree749afb0648c7be3952d99e33f222f687b0607e05 /tools/perf/scripts/python/parallel-perf.py
parent7d7214b39b14c9763c14445b139f63369063b65e (diff)
RDMA/usnic: Bound buffer size to sizeof(buf) in flowinfo_read()
In flowinfo_read(), 'left' tracks the remaining space in the 512-byte stack buffer 'buf', but it is initialized to 'count'. Initialize 'left' to sizeof(buf) instead of 'count'. Fixes: 9f637f793602 ("IB/usnic: Expose flows via debugfs") Signed-off-by: Serhat Kumral <serhatkumral1@gmail.com> Link: https://patch.msgid.link/20261017185028.1019445-1-serhatkumral1@gmail.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions