[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <165892613405.11639.5815229141954841153.kvalo@kernel.org>
Date: Wed, 27 Jul 2022 12:48:55 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: Hangyu Hua <hbh25y@...il.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, wanghai38@...wei.com, dsd@...top.org,
linville@...driver.com, dcbw@...hat.com,
libertas-dev@...ts.infradead.org, linux-wireless@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Hangyu Hua <hbh25y@...il.com>
Subject: Re: wifi: libertas: Fix possible refcount leak in if_usb_probe()
Hangyu Hua <hbh25y@...il.com> wrote:
> usb_get_dev will be called before lbs_get_firmware_async which means that
> usb_put_dev need to be called when lbs_get_firmware_async fails.
>
> Fixes: ce84bb69f50e ("libertas USB: convert to asynchronous firmware loading")
> Signed-off-by: Hangyu Hua <hbh25y@...il.com>
Patch applied to wireless-next.git, thanks.
2cfb08d6c5c9 wifi: libertas: Fix possible refcount leak in if_usb_probe()
--
https://patchwork.kernel.org/project/linux-wireless/patch/20220620092350.39960-1-hbh25y@gmail.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists