[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <167102054878.7997.15438501425115316737.kvalo@kernel.org>
Date: Wed, 14 Dec 2022 12:22:30 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: Zhengchao Shao <shaozhengchao@...wei.com>
Cc: <libertas-dev@...ts.infradead.org>,
<linux-wireless@...r.kernel.org>, <netdev@...r.kernel.org>,
<davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>,
<pabeni@...hat.com>, <johannes.berg@...el.com>, <dcbw@...hat.com>,
<linville@...driver.com>, <hs4233@...l.mn-solutions.de>,
<weiyongjun1@...wei.com>, <yuehaibing@...wei.com>,
<shaozhengchao@...wei.com>
Subject: Re: wifi: libertas: fix memory leak in lbs_init_adapter()
Zhengchao Shao <shaozhengchao@...wei.com> wrote:
> When kfifo_alloc() failed in lbs_init_adapter(), cmd buffer is not
> released. Add free memory to processing error path.
>
> Fixes: 7919b89c8276 ("libertas: convert libertas driver to use an event/cmdresp queue")
> Signed-off-by: Zhengchao Shao <shaozhengchao@...wei.com>
> Reviewed-by: Jiri Pirko <jiri@...dia.com>
Patch applied to wireless-next.git, thanks.
16a03958618f wifi: libertas: fix memory leak in lbs_init_adapter()
--
https://patchwork.kernel.org/project/linux-wireless/patch/20221208121448.2845986-1-shaozhengchao@huawei.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists