Re: [PATCH] Bluetooth: L2CAP: Fix size check for receive buffer space

From: patchwork-bot+bluetooth

Date: Thu Nov 12 2026 - 19:13:06 EST


Hello:

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

On Wed, 11 Nov 2026 15:49:05 -0600 you wrote:
> Check that available receive space covers a full MTU-sized SDU and its
> overhead, rather than just the overhead. Otherwise, credits can be
> exhausted before an SDU is completed. This could result in a deadlock under
> some configurations and SDU combinations.
>
> This follows the SDU-sized credit policy from commit 96cd8eaa131f
> ("Bluetooth: L2CAP: Derive rx credits from MTU and MPS"). Clarify the
> comment by replacing "packet" with "SDU".
>
> [...]

Here is the summary with links:
- Bluetooth: L2CAP: Fix size check for receive buffer space
https://git.kernel.org/bluetooth/bluetooth-next/c/3b069de8a5d6

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