Re: [PATCH] Bluetooth: btmtk: fix urb->setup_packet leak in error paths

From: patchwork-bot+bluetooth

Date: Mon May 18 2026 - 17:53:42 EST


Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:

On Mon, 18 May 2026 10:24:02 +0800 you wrote:
> The setup_packet of control urb is not freed if usb_submit_urb fails or
> the submitted urb is killed. Add free in these two paths.
>
> Fixes: a1c49c434e150 ("Bluetooth: btusb: Add protocol support for MediaTek MT7668U USB devices")
> Signed-off-by: Jiajia Liu <liujiajia@xxxxxxxxxx>
> ---
> drivers/bluetooth/btmtk.c | 2 ++
> 1 file changed, 2 insertions(+)

Here is the summary with links:
- Bluetooth: btmtk: fix urb->setup_packet leak in error paths
https://git.kernel.org/bluetooth/bluetooth-next/c/5daf96ab8398

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html