Re: [PATCH net] sctp: purge outqueue on stale COOKIE-ECHO handling
From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-06-04 16:20:19
Also in:
linux-sctp
From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-06-04 16:20:19
Also in:
linux-sctp
Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski [off-list ref]: On Wed, 3 Jun 2026 14:11:44 -0400 you wrote:
sctp_stream_update() is only invoked when the association is moved into COOKIE_WAIT during association setup/reconfiguration. In this path, the outbound stream scheduler state (stream->out_curr) is expected to be clean, since no user data should have been transmitted yet unless the state machine has already partially progressed. However, a corner case exists in sctp_sf_do_5_2_6_stale(): when a Stale Cookie ERROR is received, the association is rolled back from COOKIE_ECHOED to COOKIE_WAIT. In this scenario, user data may already have been queued and even bundled with the COOKIE-ECHO chunk. [...]
Here is the summary with links:
- [net] sctp: purge outqueue on stale COOKIE-ECHO handling
https://git.kernel.org/netdev/net/c/e374b22e9b07
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html