[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210915125815.5908968d@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Wed, 15 Sep 2021 12:58:15 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: "Kumar, M Chetan" <m.chetan.kumar@...el.com>
Cc: Dan Carpenter <dan.carpenter@...cle.com>,
linuxwwan <linuxwwan@...el.com>,
Loic Poulain <loic.poulain@...aro.org>,
Sergey Ryazanov <ryazanov.s.a@...il.com>,
Johannes Berg <johannes@...solutions.net>,
"David S. Miller" <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"kernel-janitors@...r.kernel.org" <kernel-janitors@...r.kernel.org>
Subject: Re: [PATCH net-next] net: wwan: iosm: fix memory leak in
ipc_devlink_create_region()
On Wed, 15 Sep 2021 11:05:42 +0000 Kumar, M Chetan wrote:
> > This doesn't free the first region in devlink->cd_regions[0] so it's a memory
> > leak.
> >
> > Fixes: 13bb8429ca98 ("net: wwan: iosm: firmware flashing and coredump
> > collection")
> > Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
> > ---
> > drivers/net/wwan/iosm/iosm_ipc_devlink.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
>
> Reviewed-by: M Chetan Kumar <m.chetan.kumar@...el.com>
I'll toss this from patchwork because I'm going to post a revert
of the entire patch.
The abuse of devlink params for configuring flashing process is
unacceptable.
Powered by blists - more mailing lists