aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2024-10-31 19:02:24 +0800
committerJens Axboe <[email protected]>2024-10-31 07:40:34 -0600
commit496a51b37143c690a06612a6bd58827ef2341761 (patch)
tree60d2a9a84c55f3febede757ed57bf020efa638d6 /tools/perf/scripts/python/parallel-perf.py
parent133008e84b99e4f5f8cf3d8b768c995732df9406 (diff)
lib/iov_iter.c: initialize bi.bi_idx before iterating over bvec
Initialize bi.bi_idx as 0 before iterating over bvec, otherwise garbage data can be used as ->bi_idx. Cc: Christoph Hellwig <[email protected]> Reported-and-tested-by: Klara Modin <[email protected]> Fixes: e4e535bff2bc ("iov_iter: don't require contiguous pages in iov_iter_extract_bvec_pages") Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Ming Lei <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions