summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2025-02-26 11:41:18 +0000
committerJens Axboe <axboe@kernel.dk>2025-02-27 07:27:55 -0700
commit00a9143d9872d9913a14ef1116b140ff346acd3e (patch)
tree9ce44401471ef5f3e78e963759413115c1034612 /tools/perf/scripts/python/exported-sql-viewer.py
parenta223e96f7305fc482b4b41424e53d12ef693793d (diff)
io_uring/net: verify msghdr before copying iovec
Normally, net/ would verify msghdr before importing iovec, for example see copy_msghdr_from_user(), which further assumed by __copy_msghdr() validating msg->msg_iovlen. io_uring does it in reverse order, which is fine, but it'll be more convenient for flip it so that the iovec business is done at the end and eventually can be nicely pulled out of msghdr parsing section and thought as a sepaarate step. That also makes structure accesses more localised, which should be better for caches. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/cd35dc1b48d4e6e31f59ae7304c037fbe8a3fd3d.1740569495.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions