diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-03-14 17:26:19 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-03-18 10:57:19 -0600 |
commit | adf3a9e9f556613197583a1884f0de40a8bb6fb9 (patch) | |
tree | 3a5e03a64eeba3d1561794d698235aea4e6cf540 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dbc7d452e7cf7d3ebc0064e68d30e28d86d3939a (diff) |
io_uring: don't check unrelated req->open.how in accept request
Looks like a victim of too much copy/paste, we should not be looking
at req->open.how in accept. The point is to check CLOEXEC and error
out, which we don't invalid direct descriptors on exec. Hence any
attempt to get a direct descriptor with CLOEXEC is invalid.
No harm is done here, as req->open.how.flags overlaps with
req->accept.flags, but it's very confusing and might change if either of
those command structs are modified.
Fixes: aaa4db12ef7b ("io_uring: accept directly into fixed file table")
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