Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by patchwork-bot+netdevbpf
Mon, 02 Nov 2026 10:30
Re: [PATCH net v5] tcp: do not let tcp_collapse() drive sk_forward_alloc negative
Author: patchwork-bot+netdevbpf
Date: Mon, 02 Nov 2026 10:30
Date: Mon, 02 Nov 2026 10:30
27 lines
8883 bytes
8883 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Dave Miller <davem@davem-thinkpadp1gen8.ibmlond.csb>:
On Wed, 28 Oct 2026 19:08:20 +0000 you wrote:
> From: Eric Dumazet <edumazet@kernel.org>
>
> tcp_collapse() charges each newly allocated skb with skb_set_owner_r()
> before the skbs it replaces are freed, without scheduling memory first.
>
> Since sk_mem_uncharge() reclaims eagerly, sk->sk_forward_alloc has no
> cushion and can become negative. This can be durable when the collapsed
> skbs had a high payload/truesize ratio or were partially read, because
> the new skbs can have a bigger total truesize than the old ones.
>
> [...]
Here is the summary with links:
- [net,v5] tcp: do not let tcp_collapse() drive sk_forward_alloc negative
https://git.kernel.org/netdev/net/c/031c403d13e5
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads