Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Fixes: c7fb194 ("io_uring: add support for ring mapped supplied buffers") Signed-off-by: Dylan Yudaken <[email protected]> Reviewed-by: Pavel Begunkov <[email protected]> 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 <[email protected]>
- Loading branch information