summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2025-01-23 03:03:28 +0300
committerJens Axboe <axboe@kernel.dk>2025-01-23 03:10:45 +0300
commit69a62e03f896a7382671877b6ad6aab87c53e9c3 (patch)
tree8a030a6c624adca1c0d68c2bca9524f0fd777709 /tools/perf/scripts/python/export-to-postgresql.py
parent2839ab71ac9009884fe41a7422a167a64716c0a7 (diff)
downloadlinux-69a62e03f896a7382671877b6ad6aab87c53e9c3.tar.xz
io_uring/msg_ring: don't leave potentially dangling ->tctx pointer
For remote posting of messages, req->tctx is assigned even though it is never used. Rather than leave a dangling pointer, just clear it to NULL and use the previous check for a valid submitter_task to gate on whether or not the request should be terminated. Reported-by: Jann Horn <jannh@google.com> Fixes: b6f58a3f4aa8 ("io_uring: move struct io_kiocb from task_struct to io_uring_task") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions