net: change proto and proto_ops accept type
authorJens Axboe <axboe@kernel.dk>
Thu, 9 May 2024 15:20:08 +0000 (09:20 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 14 May 2024 00:19:09 +0000 (18:19 -0600)
commit92ef0fd55ac80dfc2e4654edfe5d1ddfa6e070fe
tree7356b1c61b8d9bd942cc517a1050bdecb9c2c5c2
parentfe6532b44af402d0900c5be3e5359f4b293524b1
net: change proto and proto_ops accept type

Rather than pass in flags, error pointer, and whether this is a kernel
invocation or not, add a struct proto_accept_arg struct as the argument.
This then holds all of these arguments, and prepares accept for being
able to pass back more information.

No functional changes in this patch.

Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
34 files changed:
crypto/af_alg.c
crypto/algif_hash.c
drivers/xen/pvcalls-back.c
fs/ocfs2/cluster/tcp.c
include/crypto/if_alg.h
include/linux/net.h
include/net/inet_common.h
include/net/inet_connection_sock.h
include/net/sock.h
net/atm/svc.c
net/ax25/af_ax25.c
net/bluetooth/iso.c
net/bluetooth/l2cap_sock.c
net/bluetooth/rfcomm/sock.c
net/bluetooth/sco.c
net/core/sock.c
net/ipv4/af_inet.c
net/ipv4/inet_connection_sock.c
net/iucv/af_iucv.c
net/llc/af_llc.c
net/mptcp/protocol.c
net/netrom/af_netrom.c
net/nfc/llcp_sock.c
net/phonet/pep.c
net/phonet/socket.c
net/rds/tcp_listen.c
net/rose/af_rose.c
net/sctp/socket.c
net/smc/af_smc.c
net/socket.c
net/tipc/socket.c
net/unix/af_unix.c
net/vmw_vsock/af_vsock.c
net/x25/af_x25.c