Re: [PATCH v2] Bluetooth: RFCOMM: free the skb when the DLC has no owner
From: patchwork-bot+bluetooth
Date: Mon Sep 28 2026 - 13:31:42 EST
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:
On Tue, 15 Sep 2026 10:00:46 +0300 you wrote:
> rfcomm_recv_data() hands the skb to d->data_ready() and returns 0
> without freeing it, so the callback owns the skb from that point on.
> The tty implementation frees it when the DLC has been detached from its
> device:
>
> static void rfcomm_dev_data_ready(struct rfcomm_dlc *dlc,
> struct sk_buff *skb)
> {
> struct rfcomm_dev *dev = dlc->owner;
>
> [...]
Here is the summary with links:
- [v2] Bluetooth: RFCOMM: free the skb when the DLC has no owner
https://git.kernel.org/bluetooth/bluetooth-next/c/9d1afbf60ed5
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html