aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/io_uring/net.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2025-02-24 12:42:21 +0000
committerJens Axboe <axboe@kernel.dk>2025-02-24 07:34:21 -0700
commit82d187d356dcc257ecaa659e57e6c0546ec1cd2d (patch)
treeb3b0b0c2bcb4e83b924189098bd2e3a9465dec3a /io_uring/net.c
parentio_uring/cmd: optimise !CONFIG_COMPAT flags setting (diff)
downloadwireguard-linux-82d187d356dcc257ecaa659e57e6c0546ec1cd2d.tar.xz
wireguard-linux-82d187d356dcc257ecaa659e57e6c0546ec1cd2d.zip
io_uring/rw: compile out compat param passing
Even when COMPAT is compiled out, we still have to pass ctx->compat to __import_iovec(). Replace the read with an indirection with a constant when the kernel doesn't support compat. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Reviewed-by: Anuj Gupta <anuj20.g@samsung.com> Link: https://lore.kernel.org/r/2819df9c8533c36b46d7baccbb317a0ec89da6cd.1740400452.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/net.c')
0 files changed, 0 insertions, 0 deletions