Re: [PATCH net v2] sctp: fix addip_serial increment on ASCONF_ACK allocation failure
| Newsgroups | org.kernel.vger.linux-sctp,org.kernel.vger.netdev |
|---|---|
| Message-ID | <178589940564.3895134.7592284619866823646.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>: On Tue, 4 Aug 2026 10:55:14 +0800 you wrote: > From: Qing Luo <[email protected]> > > In sctp_process_asconf(), when sctp_make_asconf_ack() fails to allocate > the ASCONF_ACK chunk due to memory pressure, the code jumps to the > done label where asoc->peer.addip_serial is unconditionally incremented. > > This leaves the peer's ASCONF (serial N) unacknowledged while the local > endpoint now expects serial N+1. When the peer retransmits serial N, it > falls into the serial < addip_serial + 1 branch , > which attempts to look up a cached ACK for serial N. No cached ACK > exists since the allocation failed, so the retransmission is silently > discarded. The peer eventually times out and ABORTs the association. > > [...] Here is the summary with links: - [net,v2] sctp: fix addip_serial increment on ASCONF_ACK allocation failure https://git.kernel.org/netdev/net/c/aa2e13ae8d3c You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html