[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAEkB2ERipLQRV3CsZ6L3EV0jXtS0HMc8yM6g5sNqJG0NThBsmw@mail.gmail.com>
Date: Sat, 5 Oct 2019 14:00:24 -0500
From: Navid Emamdoost <navid.emamdoost@...il.com>
To: Markus Elfring <Markus.Elfring@....de>
Cc: linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
Navid Emamdoost <emamd001@....edu>, Kangjie Lu <kjlu@....edu>,
Stephen McCamant <smccaman@....edu>,
"David S. Miller" <davem@...emloft.net>,
Kalle Valo <kvalo@...eaurora.org>,
Ping-Ke Shih <pkshih@...ltek.com>,
LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] rtlwifi: fix memory leak in rtl_usb_probe
Oh! It's duplicate, thanks for catching that.
On Sat, Oct 5, 2019 at 11:08 AM Markus Elfring <Markus.Elfring@....de> wrote:
>
> > In rtl_usb_probe, a new hw is allocated via ieee80211_alloc_hw(). This
> > allocation should be released in case of allocation failure for
> > rtlpriv->usb_data.
> >
> > Fixes: a7959c1394d4 ("rtlwifi: Preallocate USB read buffers and eliminate kalloc in read routine")
>
> Which event did trigger the sending of this patch variant
> after a similar change was integrated already?
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=3f93616951138a598d930dcaec40f2bfd9ce43bb
> https://lore.kernel.org/lkml/20191001092047.71E8460A30@smtp.codeaurora.org/
> https://lore.kernel.org/patchwork/comment/1331936/
>
> Regards,
> Markus
--
Navid.
Powered by blists - more mailing lists