-
-
Notifications
You must be signed in to change notification settings - Fork 368
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SCTP send_init/handle_init race (#615)
* sctp: Don't derive Default for Stream and AssociationInternal These structures should never be created using defaults. Which also makes channel senders mandatory (not Optional). * sctp: Simplify association creation * sctp: Log error for unexpected INIT * sctp: Hold association lock when sending client init This fixes a race where read_loop may process incoming init and going to established before send_init() is called.
- Loading branch information
Showing
6 changed files
with
206 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.