diff options
| author | 2021-02-20 01:39:53 +0000 | |
|---|---|---|
| committer | 2021-02-20 19:02:45 -0700 | |
| commit | ebf4a5db690a47e71056381ead8a134de7202694 (patch) | |
| tree | cd9b8363a2fb5746232be481d088295b735821c7 /tools/scripts/ssh:/git@git.zx2c4.com/git: | |
| parent | io_uring: wait potential ->release() on resurrect (diff) | |
| download | linux-dev-ebf4a5db690a47e71056381ead8a134de7202694.tar.xz linux-dev-ebf4a5db690a47e71056381ead8a134de7202694.zip | |
io_uring: fix leaving invalid req->flags
sqe->flags are subset of req flags, so incorrectly copied may span into
in-kernel flags and wreck havoc, e.g. by setting REQ_F_INFLIGHT.
Fixes: 5be9ad1e4287e ("io_uring: optimise io_init_req() flags setting")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/scripts/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
