]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: Remove support for AIO on sockets
authorDemi Marie Obenour <demiobenour@gmail.com>
Sat, 23 May 2026 19:43:02 +0000 (15:43 -0400)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 29 May 2026 06:05:30 +0000 (14:05 +0800)
commitfcc77d33a34cf271702e8daafb6c593e4626776d
tree950aae3e69526946fe9ba336e2a461abdd128e12
parent4c600ab0d8cfc9d75b92f3426dbcb2ad85eac91d
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>
crypto/af_alg.c
crypto/algif_aead.c
crypto/algif_skcipher.c
include/crypto/if_alg.h
include/linux/socket.h
io_uring/net.c
net/compat.c
net/socket.c
tools/perf/trace/beauty/include/linux/socket.h