io_uring/net: use struct io_br_sel->val as the recv finish value
authorJens Axboe <axboe@kernel.dk>
Wed, 20 Aug 2025 17:13:46 +0000 (11:13 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Aug 2025 00:41:49 +0000 (18:41 -0600)
commit1a177afe9339d8d2204b635cd650a46a77bcccd0
treeba52c5491314af4472f4ca943d87ebf8ffa5bf4c
parent5f97a4411289a6a9ed0de7ac1cabe55ea4c9b48a
io_uring/net: use struct io_br_sel->val as the recv finish value

Currently a pointer is passed in to the 'ret' in the receive handlers,
but since we already have a value field in io_br_sel, just use that.
This is also in preparation for needing to pass in struct io_br_sel
to io_recv_finish() anyway.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c