diff options
author | Gabriel Krisman Bertazi <[email protected]> | 2023-10-04 20:05:30 -0400 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-10-05 08:38:15 -0600 |
commit | f74c746e476b9dad51448b9a9421aae72b60e25f (patch) | |
tree | 6030cacd141a53ee447c4a8b56327f540deea9a1 /scripts/gdb/linux/slab.py | |
parent | ab69838e7c75b0edb699c1a8f42752b30333c46f (diff) |
io_uring/kbuf: Allow the full buffer id space for provided buffers
nbufs tracks the number of buffers and not the last bgid. In 16-bit, we
have 2^16 valid buffers, but the check mistakenly rejects the last
bid. Let's fix it to make the interface consistent with the
documentation.
Fixes: ddf0322db79c ("io_uring: add IORING_OP_PROVIDE_BUFFERS")
Signed-off-by: Gabriel Krisman Bertazi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/slab.py')
0 files changed, 0 insertions, 0 deletions