Re: [PATCH net] tcp: initialize send sequence numbers before deferring TFO
From: patchwork-bot+netdevbpf
Date: Thu Nov 05 2026 - 06:46:05 EST
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Mon, 2 Nov 2026 11:59:43 +0800 you wrote:
> TCP_FASTOPEN_CONNECT can return from connect() before tcp_connect_init()
> when a cached cookie or cookieless Fast Open allows deferring the SYN.
> At this point write_seq contains the initial sequence number, while
> snd_una and snd_nxt have not been initialized to that sequence number.
>
> Consequently, inet_diag and /proc/net/tcp{,6} report the initial
> sequence number as the send queue length despite no SYN or payload being
> queued.
>
> [...]
Here is the summary with links:
- [net] tcp: initialize send sequence numbers before deferring TFO
https://git.kernel.org/netdev/net/c/57889a8f6d49
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html