svn commit: r266184 - stable/9/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Thu May 15 20:08:26 UTC 2014
Author: tuexen
Date: Thu May 15 20:08:25 2014
New Revision: 266184
URL: http://svnweb.freebsd.org/changeset/base/266184
Log:
MFC r264017:
Increment the SSN only after processing the last fragment of an
ordered user message.
Modified:
stable/9/sys/netinet/sctp_output.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/netinet/sctp_output.c
==============================================================================
--- stable/9/sys/netinet/sctp_output.c Thu May 15 20:06:29 2014 (r266183)
+++ stable/9/sys/netinet/sctp_output.c Thu May 15 20:08:25 2014 (r266184)
@@ -7367,7 +7367,8 @@ dont_do_it:
chk->pad_inplace = 0;
chk->no_fr_allowed = 0;
chk->rec.data.stream_seq = strq->next_sequence_send;
- if (rcv_flags & SCTP_DATA_LAST_FRAG) {
+ if ((rcv_flags & SCTP_DATA_LAST_FRAG) &&
+ !(rcv_flags & SCTP_DATA_UNORDERED)) {
strq->next_sequence_send++;
}
chk->rec.data.stream_number = sp->stream;
More information about the svn-src-stable-9
mailing list