Re: [PATCH] RDMA/rxe: Fix memleak in rxe_mem_init_user

From: Jason Gunthorpe
Date: Thu Aug 27 2020 - 11:10:50 EST


On Wed, Aug 19, 2020 at 03:56:32PM +0800, Dinghao Liu wrote:
> When page_address() fails, umem should be freed just
> like when rxe_mem_alloc() fails.
>
> Signed-off-by: Dinghao Liu <dinghao.liu@xxxxxxxxxx>
> ---
> drivers/infiniband/sw/rxe/rxe_mr.c | 1 +
> 1 file changed, 1 insertion(+)

Applied to for-rc, I added a fixes line

Jason