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

setsockopt for SCTP_RESET_STREAMS is able to reset sid=10 when assoc has only 10 streams #28

Open
hoelscher opened this issue May 30, 2016 · 0 comments
Milestone

Comments

@hoelscher
Copy link

hoelscher commented May 30, 2016

If an application wants to reset streams and uses stream ids which are greater than the existing streams, FreeBSD doesn't returns an error when calling setsockopt syscall. If 10 streams exist, FreeBSD can put stream id 10 in syscall without an error. Stream id 11 throws an error.
see
https://github.com/nplab/RFC6525_Testsuite/blob/master/api_tests/sctp-sr-api-rs/sctp-sr-api-rs-i-8-3.pkt
https://github.com/nplab/RFC6525_Testsuite/blob/master/api_tests/sctp-sr-api-rs/sctp-sr-api-rs-i-8-5.pkt
https://github.com/nplab/RFC6525_Testsuite/blob/master/api_tests/sctp-sr-api-rs/sctp-sr-api-rs-i-8-7.pkt
https://github.com/nplab/RFC6525_Testsuite/blob/master/api_tests/sctp-sr-api-rs/sctp-sr-api-rs-i-8-9.pkt
https://github.com/nplab/RFC6525_Testsuite/blob/master/api_tests/sctp-sr-api-rs/sctp-sr-api-rs-i-8-11.pkt

@tuexen tuexen added this to the SocketAPI milestone Jun 22, 2016
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

No branches or pull requests

2 participants