linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: Dinghao Liu <dinghao.liu@zju.edu.cn>
Cc: <kjlu@umn.edu>, Zhu Yanjun <yanjunz@mellanox.com>,
	Doug Ledford <dledford@redhat.com>, <linux-rdma@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] RDMA/rxe: Fix memleak in rxe_mem_init_user
Date: Thu, 27 Aug 2020 08:47:58 -0300	[thread overview]
Message-ID: <20200827114758.GA3997325@nvidia.com> (raw)
In-Reply-To: <20200819075632.22285-1-dinghao.liu@zju.edu.cn>

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@zju.edu.cn>
> ---
>  drivers/infiniband/sw/rxe/rxe_mr.c | 1 +
>  1 file changed, 1 insertion(+)

Applied to for-rc, I added a fixes line

Jason

      parent reply	other threads:[~2020-08-27 15:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-19  7:56 [PATCH] RDMA/rxe: Fix memleak in rxe_mem_init_user Dinghao Liu
2020-08-19  8:38 ` Zhu Yanjun
2020-08-27 11:47 ` Jason Gunthorpe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200827114758.GA3997325@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=dinghao.liu@zju.edu.cn \
    --cc=dledford@redhat.com \
    --cc=kjlu@umn.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=yanjunz@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).