summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2025-06-20 07:41:21 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-07-06 11:01:48 +0200
commitb8be3ae062e63e5efade5e22995ac0077abe0070 (patch)
treed3fdf4a3850bc747d87585e16dca29a404db5fb7 /include/net/aligned_data.h
parent725fcba8bd2e381765cd3833e41348d0c61bcc61 (diff)
io_uring/net: always use current transfer count for buffer put
A previous fix corrected the retry condition for when to continue a current bundle, but it missed that the current (not the total) transfer count also applies to the buffer put. If not, then for incrementally consumed buffer rings repeated completions on the same request may end up over consuming. Reported-by: Roy Tang (ErgoniaTrading) <royonia@ergonia.io> Cc: stable@vger.kernel.org Fixes: 3a08988123c8 ("io_uring/net: only retry recv bundle for a full transfer") Link: https://github.com/axboe/liburing/issues/1423 Signed-off-by: Jens Axboe <axboe@kernel.dk> (cherry picked from commit 51a4598ad5d9eb6be4ec9ba65bbfdf0ac302eb2e) Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions