diff options
| author | Jens Axboe <axboe@kernel.dk> | 2026-03-17 23:18:04 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-03-17 23:35:00 +0300 |
| commit | 0a6b9ae1f314c92141b851fcbc2f7b4d0cd2e340 (patch) | |
| tree | 1da95d086e0a3ec5e38cd86ba0b8d218201bed9c | |
| parent | 74dbc0bab57b7e5b4adbc93ce9179e0f36079e4c (diff) | |
| download | linux-0a6b9ae1f314c92141b851fcbc2f7b4d0cd2e340.tar.xz | |
io_uring/net: use 'ctx' consistently
There's already a local ctx variable, use it for the io_is_compat()
check as well.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
| -rw-r--r-- | io_uring/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_uring/net.c b/io_uring/net.c index 3f9d08b78c21..b3f73883a24c 100644 --- a/io_uring/net.c +++ b/io_uring/net.c @@ -1375,7 +1375,7 @@ int io_send_zc_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) if (zc->msg_flags & MSG_DONTWAIT) req->flags |= REQ_F_NOWAIT; - if (io_is_compat(req->ctx)) + if (io_is_compat(ctx)) zc->msg_flags |= MSG_CMSG_COMPAT; iomsg = io_msg_alloc_async(req); |
