[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210107184238.36841971@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Thu, 7 Jan 2021 18:42:38 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Sunil Kovvuri <sunil.kovvuri@...il.com>
Cc: Colin King <colin.king@...onical.com>,
Sunil Goutham <sgoutham@...vell.com>,
Linu Cherian <lcherian@...vell.com>,
Geetha sowjanya <gakula@...vell.com>,
Jerin Jacob <jerinj@...vell.com>,
"David S . Miller" <davem@...emloft.net>,
Nithya Mani <nmani@...vell.com>,
Linux Netdev List <netdev@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] octeontx2-af: fix memory leak of lmac and lmac->name
On Thu, 7 Jan 2021 22:31:30 +0530 Sunil Kovvuri wrote:
> On Thu, Jan 7, 2021 at 6:11 PM Colin King <colin.king@...onical.com> wrote:
> >
> > From: Colin Ian King <colin.king@...onical.com>
> >
> > Currently the error return paths don't kfree lmac and lmac->name
> > leading to some memory leaks. Fix this by adding two error return
> > paths that kfree these objects
> >
> > Addresses-Coverity: ("Resource leak")
> > Fixes: 1463f382f58d ("octeontx2-af: Add support for CGX link management")
> > Signed-off-by: Colin Ian King <colin.king@...onical.com>
>
> Thanks for the fix, looks good to me.
Consider venturing an Acked-by tag in the future so it can be recorded
in git.
Applied, thanks!
Powered by blists - more mailing lists