diff options
| author | Dan Carpenter <[email protected]> | 2023-12-05 12:37:17 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-12-05 13:59:56 +0000 |
| commit | e53f7b54b1fdecae897f25002ff0cff04faab228 (patch) | |
| tree | 2e310edfc7a9755e4c4182cb9a07d99dc9c83ad9 /tools/perf/scripts/python/gecko.py | |
| parent | io_uring: fix mutex_unlock with unreferenced ctx (diff) | |
| download | kernel-e53f7b54b1fdecae897f25002ff0cff04faab228.tar.gz kernel-e53f7b54b1fdecae897f25002ff0cff04faab228.zip | |
io_uring/kbuf: Fix an NULL vs IS_ERR() bug in io_alloc_pbuf_ring()
The io_mem_alloc() function returns error pointers, not NULL. Update
the check accordingly.
Fixes: b10b73c102a2 ("io_uring/kbuf: recycle freed mapped buffer ring entries")
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions
