Skip to content

SCTP: Limit the number of inflight incomplete SCTP messages and the number of fragments#16875

Merged
normanmaurer merged 5 commits into
4.1from
sctp41
Jun 2, 2026
Merged

SCTP: Limit the number of inflight incomplete SCTP messages and the number of fragments#16875
normanmaurer merged 5 commits into
4.1from
sctp41

Conversation

@normanmaurer

@normanmaurer normanmaurer commented Jun 1, 2026

Copy link
Copy Markdown
Member

Motivation:

SctpMessageCompletionHandler did not inforce any limits and so could cause unbound memory usage.

Modifications:

  • Add new constructor that takes a limit for the maximum incomplete SCTP messages in flight and the number of fragments
  • Use sane defaults
  • Add unit tests

Result:

No more unbound memory usage

…umber of fragments

Motivation:

SctpMessageCompletionHandler did not inforce any limits and so could cause unbound memory usage.

Modifications:

- Add new constructor that takes a limit for the maximum incomplete SCTP messages in flight and the number of fragments
- Use sane defaults
- Add unit tests

Result:

No more unbound memory usage
@normanmaurer normanmaurer changed the title SCTP: Limit the number of inflight incomplete SCTP messages and the number of fragments Motivation: SCTP: Limit the number of inflight incomplete SCTP messages and the number of fragments Jun 1, 2026
@normanmaurer normanmaurer added this to the 4.1.135.Final milestone Jun 1, 2026
@normanmaurer normanmaurer merged commit cef5395 into 4.1 Jun 2, 2026
18 checks passed
@normanmaurer normanmaurer deleted the sctp41 branch June 2, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant