net: remove cmsg restriction from io_uring based send/recvmsg calls
authorJens Axboe <axboe@kernel.dk>
Wed, 17 Feb 2021 17:14:21 +0000 (10:14 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 23 Dec 2022 21:51:22 +0000 (14:51 -0700)
commit89a29005f595d929d8d784f3422fb6a350f4b05f
treece763bee3ff8cb6dcc974d75aec299030c3b4f31
parent0f315fd4143c1591a7f902fa08b71b83764f4fa0
net: remove cmsg restriction from io_uring based send/recvmsg calls

[ Upstream commit e54937963fa249595824439dc839c948188dea83 ]

No need to restrict these anymore, as the worker threads are direct
clones of the original task. Hence we know for a fact that we can
support anything that the regular task can.

Since the only user of proto_ops->flags was to flag PROTO_CMSG_DATA_ONLY,
kill the member and the flag definition too.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/net.h
net/ipv4/af_inet.c
net/ipv6/af_inet6.c
net/socket.c