Fix a flightsize bug related to the processing of PKTDRP reports.
MFC after: 3 days.
This commit is contained in:
parent
63f34ca026
commit
f23ba7b103
@ -3156,7 +3156,6 @@ process_chunk_drop(struct sctp_tcb *stcb, struct sctp_chunk_desc *desc,
|
|||||||
SCTP_STAT_INCR(sctps_pdrpmark);
|
SCTP_STAT_INCR(sctps_pdrpmark);
|
||||||
if (tp1->sent != SCTP_DATAGRAM_RESEND)
|
if (tp1->sent != SCTP_DATAGRAM_RESEND)
|
||||||
sctp_ucount_incr(stcb->asoc.sent_queue_retran_cnt);
|
sctp_ucount_incr(stcb->asoc.sent_queue_retran_cnt);
|
||||||
tp1->sent = SCTP_DATAGRAM_RESEND;
|
|
||||||
/*
|
/*
|
||||||
* mark it as if we were doing a FR, since
|
* mark it as if we were doing a FR, since
|
||||||
* we will be getting gap ack reports behind
|
* 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_flight_size_decrease(tp1);
|
||||||
sctp_total_flight_decrease(stcb, tp1);
|
sctp_total_flight_decrease(stcb, tp1);
|
||||||
}
|
}
|
||||||
|
tp1->sent = SCTP_DATAGRAM_RESEND;
|
||||||
} {
|
} {
|
||||||
/* audit code */
|
/* audit code */
|
||||||
unsigned int audit;
|
unsigned int audit;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user