Fix a flightsize bug related to the processing of PKTDRP reports.
MFC after: 3 days.
This commit is contained in:
parent
63f34ca026
commit
f23ba7b103
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216502
@ -3156,7 +3156,6 @@ process_chunk_drop(struct sctp_tcb *stcb, struct sctp_chunk_desc *desc,
|
||||
SCTP_STAT_INCR(sctps_pdrpmark);
|
||||
if (tp1->sent != SCTP_DATAGRAM_RESEND)
|
||||
sctp_ucount_incr(stcb->asoc.sent_queue_retran_cnt);
|
||||
tp1->sent = SCTP_DATAGRAM_RESEND;
|
||||
/*
|
||||
* mark it as if we were doing a FR, since
|
||||
* we will be getting gap ack reports behind
|
||||
@ -3191,6 +3190,7 @@ process_chunk_drop(struct sctp_tcb *stcb, struct sctp_chunk_desc *desc,
|
||||
sctp_flight_size_decrease(tp1);
|
||||
sctp_total_flight_decrease(stcb, tp1);
|
||||
}
|
||||
tp1->sent = SCTP_DATAGRAM_RESEND;
|
||||
} {
|
||||
/* audit code */
|
||||
unsigned int audit;
|
||||
|
Loading…
Reference in New Issue
Block a user