[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167646482703.1421441.5756331664159282283.b4-ty@ellerman.id.au>
Date: Wed, 15 Feb 2023 23:40:27 +1100
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: linuxppc-dev@...ts.ozlabs.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Michael Ellerman <mpe@...erman.id.au>,
Nicholas Piggin <npiggin@...il.com>,
Alexey Kardashevskiy <aik@...abs.ru>,
linux-kernel@...r.kernel.org,
Christophe Leroy <christophe.leroy@...roup.eu>
Subject: Re: [PATCH] ppc: iommu: fix memory leak with using debugfs_lookup()
On Thu, 2 Feb 2023 15:19:19 +0100, Greg Kroah-Hartman wrote:
> When calling debugfs_lookup() the result must have dput() called on it,
> otherwise the memory will leak over time. To make things simpler, just
> call debugfs_lookup_and_remove() instead which handles all of the logic
> at once.
>
>
Applied to powerpc/next.
[1/1] ppc: iommu: fix memory leak with using debugfs_lookup()
https://git.kernel.org/powerpc/c/b505063910c134778202dfad9332dfcecb76bab3
cheers
Powered by blists - more mailing lists