[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210625150311.GA3006866@nvidia.com>
Date: Fri, 25 Jun 2021 12:03:11 -0300
From: Jason Gunthorpe <jgg@...dia.com>
To: Gerd Rausch <gerd.rausch@...cle.com>
Cc: linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org,
Doug Ledford <dledford@...hat.com>
Subject: Re: [PATCH 1/1] RDMA/cma: Fix rdma_resolve_route memory leak
On Thu, Jun 24, 2021 at 11:55:31AM -0700, Gerd Rausch wrote:
> Fix a memory leak when "rmda_resolve_route" is called
> more than once on the same "rdma_cm_id".
>
> Signed-off-by: Gerd Rausch <gerd.rausch@...cle.com>
> ---
> drivers/infiniband/core/cma.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
I wondered for a while if it would be better to clear this in
cma_query_handler(), but it seems this is OK
Applied to for-next
Thanks,
Jason
Powered by blists - more mailing lists