[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b26f09cd-4114-fbbe-c782-3c72f6201d95@linux.ibm.com>
Date: Thu, 4 Jun 2020 10:08:52 +1000
From: Andrew Donnellan <ajd@...ux.ibm.com>
To: "wanghai (M)" <wanghai38@...wei.com>, fbarrat@...ux.ibm.com,
arnd@...db.de, gregkh@...uxfoundation.org
Cc: mpe@...erman.id.au, imunsie@....ibm.com,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] cxl: Fix kobject memleak
On 3/6/20 9:57 pm, wanghai (M) wrote:
> kfree(cr) can be called when
> kobject_put()-->kobject_release()-->kobject_cleanup()-->kobj_type->release()
> is called. The kobj_type here is afu_config_record_type
Of course, I missed that.
In that case
Acked-by: Andrew Donnellan <ajd@...ux.ibm.com>
Thanks for the fix!
--
Andrew Donnellan OzLabs, ADL Canberra
ajd@...ux.ibm.com IBM Australia Limited
Powered by blists - more mailing lists