[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200824.055412.154537872989436066.davem@davemloft.net>
Date: Mon, 24 Aug 2020 05:54:12 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dinghao.liu@....edu.cn
Cc: kjlu@....edu, yisen.zhuang@...wei.com, salil.mehta@...wei.com,
kuba@...nel.org, hkallweit1@...il.com, Jason@...c4.com,
snelson@...sando.io, mst@...hat.com, liuyonglong@...wei.com,
yankejian@...wei.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: hns: Fix memleak in hns_nic_dev_probe
From: Dinghao Liu <dinghao.liu@....edu.cn>
Date: Mon, 24 Aug 2020 13:44:42 +0800
> hns_nic_dev_probe allocates ndev, but not free it on
> two error handling paths, which may lead to memleak.
>
> Fixes: 63434888aaf1b ("net: hns: net: hns: enet adds support of acpi")
> Signed-off-by: Dinghao Liu <dinghao.liu@....edu.cn>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists