diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-10-07 12:26:02 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-10-12 16:30:56 -0600 |
commit | 11528491c65a493050c682786c6b7cfd9e9b4a8f (patch) | |
tree | f7b6935c68185cd46db3b1e0f94bf6daf909ca4f | |
parent | 44f87745d5f24a3cdf0548bf1d84fbb7316ce229 (diff) | |
download | linux-stable-11528491c65a493050c682786c6b7cfd9e9b4a8f.tar.gz linux-stable-11528491c65a493050c682786c6b7cfd9e9b4a8f.tar.bz2 linux-stable-11528491c65a493050c682786c6b7cfd9e9b4a8f.zip |
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: 493108d95f14 ("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>
-rw-r--r-- | io_uring/opdef.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/io_uring/opdef.c b/io_uring/opdef.c index 2330f6da791e..83dc0f9ad3b2 100644 --- a/io_uring/opdef.c +++ b/io_uring/opdef.c @@ -510,7 +510,6 @@ const struct io_op_def io_op_defs[] = { .needs_file = 1, .unbound_nonreg_file = 1, .pollout = 1, - .audit_skip = 1, .ioprio = 1, .manual_alloc = 1, #if defined(CONFIG_NET) |