[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221026203552.7eaf37cf@kernel.org>
Date: Wed, 26 Oct 2022 20:35:52 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Zhengchao Shao <shaozhengchao@...wei.com>
Cc: <netdev@...r.kernel.org>, <davem@...emloft.net>,
<edumazet@...gle.com>, <pabeni@...hat.com>, <jiri@...lanox.com>,
<weiyongjun1@...wei.com>, <yuehaibing@...wei.com>
Subject: Re: [PATCH net] netdevsim: fix memory leak in nsim_bus_dev_new()
On Wed, 26 Oct 2022 09:54:05 +0800 Zhengchao Shao wrote:
> If device_register() failed in nsim_bus_dev_new(), the value of reference
> in nsim_bus_dev->dev is 1. obj->name in nsim_bus_dev->dev will not be
> released.
The fixes tag is still not 100% but I guess the bug was
slightly different before and after that patch, so:
Acked-by: Jakub Kicinski <kuba@...nel.org>
Powered by blists - more mailing lists