[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190614075433.GA5820@linux-8ccs>
Date: Fri, 14 Jun 2019 09:54:33 +0200
From: Jessica Yu <jeyu@...nel.org>
To: YueHaibing <yuehaibing@...wei.com>
Cc: gregkh@...uxfoundation.org, mbenes@...e.cz,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4] kernel/module: Fix mem leak in
module_add_modinfo_attrs
+++ YueHaibing [11/06/19 23:00 +0800]:
>In module_add_modinfo_attrs if sysfs_create_file
>fails, we forget to free allocated modinfo_attrs
>and roll back the sysfs files.
>
>Fixes: 03e88ae1b13d ("[PATCH] fix module sysfs files reference counting")
>Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied, thanks.
Jessica
Powered by blists - more mailing lists