Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In mpi_read_raw_from_sgl we may leak the SG miter resouces after reading the leading zeroes. This patch fixes this by stopping the iteration once the leading zeroes have been read. Fixes: 127827b ("lib/mpi: Do not do sg_virt") Reported-by: Nicolai Stange <[email protected]> Tested-by: Nicolai Stange <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
- Loading branch information