diff options
| author | Aleksei Oladko <aleksey.oladko@virtuozzo.com> | 2026-03-22 00:59:08 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-24 05:58:32 +0300 |
| commit | 9d463f7863f2cc3722da9c670c88158409cb7c42 (patch) | |
| tree | 1f6efdd120beb59bee7edf31d39a0626fd706312 /include/linux/start_kernel.h | |
| parent | a897e194c475d5e0d141e27df600dd43962308f1 (diff) | |
| download | linux-9d463f7863f2cc3722da9c670c88158409cb7c42.tar.xz | |
selftests: net: io_uring_zerocopy: enable io_uring for the test
The io_uring_zerocopy.sh kselftest assumes that io_uring support is
enabled on the host system. When io_uring is disabled via the
kernel.io_uring_disabled sysctl, the test fails.
Explicitly enable io_uring for the test by setting
kernel.io_uring_disabled=0.
Save the original value of kernel.io_uring_disabled before changing
it and restore it in cleanup handler to ensure the system state is
restored regardless of test outcome.
Signed-off-by: Aleksei Oladko <aleksey.oladko@virtuozzo.com>
Signed-off-by: Konstantin Khorenko <khorenko@virtuozzo.com>
Link: https://patch.msgid.link/20260321215908.175465-5-aleksey.oladko@virtuozzo.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/start_kernel.h')
0 files changed, 0 insertions, 0 deletions
