[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200808.141330.786343612210808532.davem@davemloft.net>
Date: Sat, 08 Aug 2020 14:13:30 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: johan@...nel.org
Cc: andrew@...n.ch, f.fainelli@...il.com, hkallweit1@...il.com,
linux@...linux.org.uk, kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] net: phy: fix memory leak in device-create error
path
From: Johan Hovold <johan@...nel.org>
Date: Thu, 6 Aug 2020 17:37:53 +0200
> A recent commit introduced a late error path in phy_device_create()
> which fails to release the device name allocated by dev_set_name().
>
> Fixes: 13d0ab6750b2 ("net: phy: check return code when requesting PHY driver module")
> Cc: Heiner Kallweit <hkallweit1@...il.com>
> Signed-off-by: Johan Hovold <johan@...nel.org>
Applied and queued up for -stable, thank you.
Powered by blists - more mailing lists