[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YVv2on9BQkfKvEAw@kroah.com>
Date: Tue, 5 Oct 2021 08:54:26 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Florian Fainelli <f.fainelli@...il.com>
Cc: linux-kernel@...r.kernel.org, stable@...r.kernel.org,
syzbot+398e7dc692ddbbb4cfec@...kaller.appspotmail.com,
Yanfei Xu <yanfei.xu@...driver.com>,
Andrew Lunn <andrew@...n.ch>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH 4.9 57/57] net: mdiobus: Fix memory leak in
__mdiobus_register
On Mon, Oct 04, 2021 at 01:35:20PM -0700, Florian Fainelli wrote:
> On 10/4/21 5:52 AM, Greg Kroah-Hartman wrote:
> > From: Yanfei Xu <yanfei.xu@...driver.com>
> >
> > commit ab609f25d19858513919369ff3d9a63c02cd9e2e upstream.
> >
> > Once device_register() failed, we should call put_device() to
> > decrement reference count for cleanup. Or it will cause memory
> > leak.
>
> This changed has since been reverted upstream, please drop this change:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=10eff1f5788b6ffac212c254e2f3666219576889
Now dropped from everywhere, thanks.
greg k-h
Powered by blists - more mailing lists