[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190515113019.GB11749@kroah.com>
Date: Wed, 15 May 2019 13:30:19 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Christophe Leroy <christophe.leroy@....fr>
Cc: "Tobin C. Harding" <tobin@...nel.org>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Michael Ellerman <mpe@...erman.id.au>,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] powerpc: Remove double free
On Wed, May 15, 2019 at 11:26:03AM +0200, Christophe Leroy wrote:
> kobject_put() released index_dir->kobj
Yes, but what is that kobject enclosed in?
> but who will release 'index' ?
The final kobject_put() will do that, see cacheinfo_create_index_dir()
for the details.
And please do not top-post, you lost all context.
greg k-h
Powered by blists - more mailing lists