Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IB/umem: Release pid in error and ODP flow
1. Release pid before enter odp flow 2. Release pid when fail to allocate memory Fixes: 87773dd ("IB: ib_umem_release() should decrement mm->pinned_vm from ib_umem_get") Fixes: 8ada2c1 ("IB/core: Add support for on demand paging regions") Signed-off-by: Kenneth Lee <[email protected]> Reviewed-by: Haggai Eran <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
- Loading branch information