net: have do_accept() take a struct proto_accept_arg argument
authorJens Axboe <axboe@kernel.dk>
Thu, 9 May 2024 15:31:05 +0000 (09:31 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 14 May 2024 00:19:19 +0000 (18:19 -0600)
commit0645fbe760afcc5332c858d1cbf416bf77ef3c29
tree98c6d89241b44bc3ce553580407268bbf2a78e25
parent92ef0fd55ac80dfc2e4654edfe5d1ddfa6e070fe
net: have do_accept() take a struct proto_accept_arg argument

In preparation for passing in more information via this API, change
do_accept() to take a proto_accept_arg struct pointer rather than just
the file flags separately.

No functional changes in this patch.

Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/socket.h
io_uring/net.c
net/socket.c