Re: [PATCH 1/1] RDMA/cma: Fix rdma_resolve_route memory leak

From
Jason Gunthorpe <jgg@nvidia.com>
Date
2021-06-25 15:04:46
Also in
lkml
Reply to
Gerd Rausch, 2021-06-24
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 <redacted>
---
 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
Thread (6 messages) 6 messages, 4 authors, last reply 2021-06-25
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help