Increment the SSN only after processing the last fragment of an
ordered user message. MFC after: 3 days
This commit is contained in:
parent
538a5f1823
commit
6bbfa13f80
@ -7367,7 +7367,8 @@ sctp_move_to_outqueue(struct sctp_tcb *stcb,
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user