Re: [PATCH] net: mdiobus: Fix memory leak in __mdiobus_register

From: Dan Carpenter
Date: Tue Sep 28 2021 - 06:56:00 EST


On Tue, Sep 28, 2021 at 01:46:56PM +0300, Pavel Skripkin wrote:
> On 9/28/21 13:39, Dan Carpenter wrote:
> > No, the syzbot link was correct.
> >
>
> Link is correct, but Yanfei's patch does not fix this bug. Syzbot reported
> leak, that you described below, not the Yanfei one.
>

I promise you that Yanfei's link was correct. That bug was in
__devm_mdiobus_register(). It's a totally separate issue.

regards,
dan carpenter