Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

+1 -1
+1 -1
io_uring/net.c
··· 1375 1375 if (zc->msg_flags & MSG_DONTWAIT) 1376 1376 req->flags |= REQ_F_NOWAIT; 1377 1377 1378 - if (io_is_compat(req->ctx)) 1378 + if (io_is_compat(ctx)) 1379 1379 zc->msg_flags |= MSG_CMSG_COMPAT; 1380 1380 1381 1381 iomsg = io_msg_alloc_async(req);