Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RDMA/srp: Fix a recently introduced memory leak
Only allocate a memory registration list if it will be used and if it will be freed. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Max Gurtovoy <[email protected]> Fixes: f273ad4 ("RDMA/srp: Remove support for FMR memory registration") Signed-off-by: Bart Van Assche <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
- Loading branch information