lkml.org 
[lkml]   [2021]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@oracle.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

\
 
 \ /
  Last update: 2021-06-25 17:03    [W:0.100 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site