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>
Wed, 24 Feb 2021 03:32:11 +0000 (20:32 -0700)
commite54937963fa249595824439dc839c948188dea83
tree9425e2f1e18d4efec36a883ecdd61bb222b15148
parent2587890b5e2892dfecaa5e5126bdac8076a4e6f7
net: remove cmsg restriction from io_uring based send/recvmsg calls

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