summaryrefslogtreecommitdiff
path: root/io_uring
diff options
context:
space:
mode:
authorDemi Marie Obenour <demiobenour@gmail.com>2026-05-23 15:43:02 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2026-05-29 14:05:30 +0800
commitfcc77d33a34cf271702e8daafb6c593e4626776d (patch)
tree950aae3e69526946fe9ba336e2a461abdd128e12 /io_uring
parent4c600ab0d8cfc9d75b92f3426dbcb2ad85eac91d (diff)
downloadlinux-next-fcc77d33a34cf271702e8daafb6c593e4626776d.tar.gz
linux-next-fcc77d33a34cf271702e8daafb6c593e4626776d.zip
net: Remove support for AIO on sockets
The only user of msg->msg_iocb was AF_ALG, but that's deprecated. It can be removed entirely at the cost of only supporting synchronous operations. This doesn't break userspace, which will silently block (for a bounded amount of time) in io_submit instead of operating asynchronously. This also makes struct msghdr smaller, helping every other caller of sendmsg(). Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com> Acked-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'io_uring')
-rw-r--r--io_uring/net.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/io_uring/net.c b/io_uring/net.c
index 30cd22c0b934..22100933966a 100644
--- a/io_uring/net.c
+++ b/io_uring/net.c
@@ -771,7 +771,6 @@ static int io_recvmsg_prep_setup(struct io_kiocb *req)
kmsg->msg.msg_control = NULL;
kmsg->msg.msg_get_inq = 1;
kmsg->msg.msg_controllen = 0;
- kmsg->msg.msg_iocb = NULL;
kmsg->msg.msg_ubuf = NULL;
if (req->flags & REQ_F_BUFFER_SELECT)