Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sctpassociation: initialize sctp stack by atomic ref-count #66

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

justinjoy
Copy link
Contributor

Atomical reference count is introduced to prevent calling 'usrsctp_init()' while finalizing is on-going.

Also, 'usrsctp_finish()' is non-deterministic so it should be waiting for zero-return to be sure that sctp stack is torn down.

Justin Kim added 2 commits May 24, 2018 11:57
The header defines limits of exact-width integer types, e.g UINT16_MAX.

Signed-off-by: Justin Kim <justin.kim@collabora.com>
Atomical reference count is introduced to prevent calling
'usrsctp_init()' while finalizing is on-going.

Also, 'usrsctp_finish()' is non-deterministic so it should
be waiting for zero-return to be sure that sctp stack is
torn down.

Signed-off-by: Justin Kim <justin.kim@collabora.com>
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