[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200824.055925.508725099038824391.davem@davemloft.net>
Date: Mon, 24 Aug 2020 05:59:25 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dinghao.liu@....edu.cn
Cc: kjlu@....edu, f.fainelli@...il.com, kuba@...nel.org,
bcm-kernel-feedback-list@...adcom.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: systemport: Fix memleak in bcm_sysport_probe
From: Dinghao Liu <dinghao.liu@....edu.cn>
Date: Mon, 24 Aug 2020 13:58:31 +0800
> When devm_kcalloc() fails, dev should be freed just
> like what we've done in the subsequent error paths.
>
> Fixes: 7b78be48a8eb6 ("net: systemport: Dynamically allocate number of TX rings")
> Signed-off-by: Dinghao Liu <dinghao.liu@....edu.cn>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists