[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180611184504.GA15889@ziepe.ca>
Date: Mon, 11 Jun 2018 12:45:04 -0600
From: Jason Gunthorpe <jgg@...pe.ca>
To: Christophe Jaillet <christophe.jaillet@...adoo.fr>
Cc: yishaih@...lanox.com, dledford@...hat.com,
linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] IB/mlx4: Fix an error handling path in
'mlx4_ib_rereg_user_mr()'
On Mon, Jun 11, 2018 at 08:15:11PM +0200, Christophe Jaillet wrote:
> Before returning -EPERM we should release some resources, as already done
> in the other error handling path of the function.
>
> Fixes: d8f9cc328c88 ("IB/mlx4: Mark user MR as writable if actual virtual memory is writable")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
> ---
> drivers/infiniband/hw/mlx4/mr.c | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
Applied to for-rc, thanks
Jason
Powered by blists - more mailing lists