summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorDylan Yudaken <dylany@fb.com>2022-07-21 14:01:15 +0300
committerJens Axboe <axboe@kernel.dk>2022-07-21 17:29:01 +0300
commitec8516f3b7c40ba7050e6b3a32467e9de451ecdf (patch)
tree56449e66dfd500737ad1da9b378f1310471f8256 /tools/perf/scripts/python/libxed.py
parentd785a773bed966a75ca1f11d108ae1897189975b (diff)
downloadlinux-ec8516f3b7c40ba7050e6b3a32467e9de451ecdf.tar.xz
io_uring: fix free of unallocated buffer list
in the error path of io_register_pbuf_ring, only free bl if it was allocated. Reported-by: Dipanjan Das <mail.dipanjan.das@gmail.com> Fixes: c7fb19428d67 ("io_uring: add support for ring mapped supplied buffers") Signed-off-by: Dylan Yudaken <dylany@fb.com> Reviewed-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/all/CANX2M5bXKw1NaHdHNVqssUUaBCs8aBpmzRNVEYEvV0n44P7ioA@mail.gmail.com/ Link: https://lore.kernel.org/all/CANX2M5YiZBXU3L6iwnaLs-HHJXRvrxM8mhPDiMDF9Y9sAvOHUA@mail.gmail.com/ Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions