aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2025-06-20 13:41:21 +0000
committerJens Axboe <[email protected]>2025-06-20 14:33:45 +0000
commit51a4598ad5d9eb6be4ec9ba65bbfdf0ac302eb2e (patch)
tree57c9f0fad20d5e6979844e4f01c531b9c9467520 /lib/crypto/mpi/mpi-cmp.c
parentio_uring: fix potential page leak in io_sqe_buffer_register() (diff)
downloadkernel-51a4598ad5d9eb6be4ec9ba65bbfdf0ac302eb2e.tar.gz
kernel-51a4598ad5d9eb6be4ec9ba65bbfdf0ac302eb2e.zip
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) <[email protected]> Cc: [email protected] 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 <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions