Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reactor: fix bug when handling EBADF in flush_pending_aio()
When io_submit() fails with EBADF, we're supposed to only remove the bad request from _pending_aio. However, we're using the error returned by io_submit() to erase elements, which results in a segfault. Spotted while auditing code. Signed-off-by: Raphael Carvalho <[email protected]> Message-Id: <[email protected]>
- Loading branch information