Re: [PATCH] rtl8xxxu: prevent potential memory leak
From: Kalle Valo
Date: Wed Sep 09 2020 - 03:30:09 EST
Chris Chiu <chiu@xxxxxxxxxxxx> wrote:
> Free the skb if usb_submit_urb fails on rx_urb. And free the urb
> no matter usb_submit_urb succeeds or not in rtl8xxxu_submit_int_urb.
>
> Signed-off-by: Chris Chiu <chiu@xxxxxxxxxxxx>
Patch applied to wireless-drivers-next.git, thanks.
86279456a4d4 rtl8xxxu: prevent potential memory leak
--
https://patchwork.kernel.org/patch/11759447/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches