]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring/opdef: remove 'audit_skip' from SENDMSG_ZC
authorJens Axboe <axboe@kernel.dk>
Fri, 7 Oct 2022 18:26:02 +0000 (12:26 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 12 Oct 2022 22:30:56 +0000 (16:30 -0600)
commit6d6111cf374ef2546acb2545a9595ffc0a4b91da
treef7b6935c68185cd46db3b1e0f94bf6daf909ca4f
parent53e482db8323137782ea821cb64464aa26312527
io_uring/opdef: remove 'audit_skip' from SENDMSG_ZC

The msg variants of sending aren't audited separately, so we should not
be setting audit_skip for the zerocopy sendmsg variant either.

Fixes: 325fae7f8475 ("io_uring/net: zerocopy sendmsg")
Reported-by: Paul Moore <paul@paul-moore.com>
Reviewed-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/opdef.c