aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/io_uring/rw.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2025-02-23 17:22:29 +0000
committerJens Axboe <axboe@kernel.dk>2025-02-24 12:11:06 -0700
commitf6a89bf5278d6e15016a736db67043560d1b50d5 (patch)
treed395b49e81e35428507b0aa6b0cc3b49a0bc8276 /io_uring/rw.c
parentio_uring/net: use io_is_compat() (diff)
downloadwireguard-linux-f6a89bf5278d6e15016a736db67043560d1b50d5.tar.xz
wireguard-linux-f6a89bf5278d6e15016a736db67043560d1b50d5.zip
io_uring/net: fix accept multishot handling
REQ_F_APOLL_MULTISHOT doesn't guarantee it's executed from the multishot context, so a multishot accept may get executed inline, fail io_req_post_cqe(), and ask the core code to kill the request with -ECANCELED by returning IOU_STOP_MULTISHOT even when a socket has been accepted and installed. Cc: stable@vger.kernel.org Fixes: 390ed29b5e425 ("io_uring: add IORING_ACCEPT_MULTISHOT for accept") Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/51c6deb01feaa78b08565ca8f24843c017f5bc80.1740331076.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/rw.c')
0 files changed, 0 insertions, 0 deletions