]> 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)
commiteb82a5e050e7d10126f44937b89482eb25038c10
treef7b6935c68185cd46db3b1e0f94bf6daf909ca4f
parentf313fdb75494e99fa671dc7315be8d73dfc16e54
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: 47ef95d8b5fa ("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