lkml.org 
[lkml]   [2022]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: wifi: libertas: Fix possible refcount leak in if_usb_probe()
From
Date
Hangyu Hua <hbh25y@gmail.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@gmail.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

\
 
 \ /
  Last update: 2022-07-27 14:49    [W:0.031 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site