summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAndrey Misiurov <andrey.misyrov@gmail.com>2026-11-06 20:51:26 +0100
committerDave Miller <davem@davem-thinkpadp1gen8.ibmlond.csb>2026-11-11 09:55:18 +0000
commit5175b2fb34c77cf2cd56a290affa45412cb3a228 (patch)
tree5f6d2706a8f2fcdfaaeba6003e57b07c55198e94 /tools/perf/scripts/python/bin
parent22b7cb932c6a0f7566d41072be6956cb6c8af4e1 (diff)
sctp: fix ASCONF address change on single-homed hosts
Commit 9b2854f86f0b ("sctp: don't free the ASCONF's own transport in DEL-IP processing") refuses a DEL-IP of the transport the ASCONF was located by, so that a later wildcard DEL-IP cannot use it after free. This also breaks the single-homed address change (RFC 5061 5.3.2). The host sends [Address Parameter L] [ADD-IP S] [DEL-IP L], the association is located by L, and DEL-IP L is now refused. The sender never gets an all-success ASCONF-ACK, keeps src_out_of_asoc_ok set and stops sending data, so the association stalls. Fix the wildcard DEL-IP instead: look up the transport of the packet source rather than reusing asconf->transport. Both DEL-IP paths can now free asconf->transport, and chunks bundled after the ASCONF still use it, so point it at a surviving transport: the packet source for the wildcard delete, the primary path for a plain one. Found by manual code inspection while reviewing a backport of commit 9b2854f86f0b; reproduced on a two-namespace single-homed renumber. Fixes: 9b2854f86f0b ("sctp: don't free the ASCONF's own transport in DEL-IP processing") Cc: stable@vger.kernel.org Signed-off-by: Andrey Misiurov <andrey.misyrov@gmail.com> Acked-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: Dave Miller <davem@davem-thinkpadp1gen8.ibmlond.csb>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions