summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJun Yang <junvyyang@tencent.com>2026-08-24 16:18:20 +0800
committerPaolo Abeni <pabeni@redhat.com>2026-08-25 13:33:08 +0200
commit3faf13aff243ca9f78d08b1a2956ef5a6fc77b6e (patch)
treea3055f3068c99a9e142314351cf3bbf94d83a36c /tools/perf/scripts/python
parent63f44178f0a0f86060c9b576d6efab8a3ffa403e (diff)
downloadlinux-3faf13aff243ca9f78d08b1a2956ef5a6fc77b6e.tar.gz
linux-3faf13aff243ca9f78d08b1a2956ef5a6fc77b6e.zip
sctp: fix stream->outcnt underflow on duplicate RECONF responses
A cached RECONF chunk may contain more than one request parameter. A duplicate response can therefore find and process the same ADD_OUT request again while another parameter is still outstanding, rolling back outcnt twice and possibly underflowing it. Track outstanding request types as bits and clear each bit after its first response. Later responses for the same request are then ignored. Fixes: 11ae76e67a17 ("sctp: implement receiver-side procedures for the Reconf Response Parameter") Cc: stable@kernel.org Reported-by: TencentOS Corvus AI <corvus@tencent.com> Link: https://lore.kernel.org/netdev/20260730110225.37371-1-juny24602@gmail.com/ Suggested-by: Xin Long <lucien.xin@gmail.com> Assisted-by: tencentos-corvus-ai:kimi-k3 Signed-off-by: Jun Yang <junvyyang@tencent.com> Link: https://patch.msgid.link/20260824081832.98717-3-juny24602@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions