aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2024-07-24 12:16:17 +0100
committerJens Axboe <axboe@kernel.dk>2024-07-24 08:01:49 -0600
commitbd44d7e902c2b34c217d3b48874b079760ca7b6e (patch)
treeafc8093b508b43a4589397badafde468b24fba08 /rust/helpers.c
parentf8b632e89a101dae349a7b212c1771d7925f441b (diff)
io_uring: don't allow netpolling with SETUP_IOPOLL
IORING_SETUP_IOPOLL rings don't have any netpoll handling, let's fail attempts to register netpolling in this case, there might be people who will mix up IOPOLL and netpoll. Cc: stable@vger.kernel.org Fixes: ef1186c1a875b ("io_uring: add register/unregister napi function") Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/1e7553aee0a8ae4edec6742cd6dd0c1e6914fba8.1721819383.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions