]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: recycle buffers on error
authorDylan Yudaken <dylany@fb.com>
Thu, 30 Jun 2022 09:12:23 +0000 (02:12 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jul 2022 00:39:16 +0000 (18:39 -0600)
commitb9aed7c252ead435ba3b19dc5a169b2b854aa6c7
treef7d41b67c60f1670d70149802b7b8a6a2d271299
parent013e5e2d4502b3dd7f428ba24771e838dbb2f293
io_uring: recycle buffers on error

Rather than passing an error back to the user with a buffer attached,
recycle the buffer immediately.

Signed-off-by: Dylan Yudaken <dylany@fb.com>
Link: https://lore.kernel.org/r/20220630091231.1456789-5-dylany@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c