Just saw a variant of this that happens between STS and one of libusrstcp's threads, so it does not look like we can work around it with tighter threading on our side. We're racing on this flag field here: https://searchfox.org/mozilla-central/rev/d6d8fcc22c3820f2ae08229e0d37be19fba74db9/netwerk/sctp/src/netinet/sctp_usrreq.c#819
Bug 1648606 Comment 1 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Just saw a variant of this that happens between STS and one of libusrstcp's threads, so it does not look like we can work around it with tighter threading on our side. We're racing on this flag field here: https://searchfox.org/mozilla-central/rev/d6d8fcc22c3820f2ae08229e0d37be19fba74db9/netwerk/sctp/src/netinet/sctp_usrreq.c#819 vs https://searchfox.org/mozilla-central/rev/d6d8fcc22c3820f2ae08229e0d37be19fba74db9/netwerk/sctp/src/netinet/sctputil.c#1527