summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2010-12-17 15:39:55 +0000
committertuexen <tuexen@FreeBSD.org>2010-12-17 15:39:55 +0000
commitec7bafefbf6ca71e8d4b17f07256ae3b68e5c4ea (patch)
tree67f38b4e1b0afb817b7594221367b1dd4a3e1f4c /sys
parent56a4ce773b400fb2913cc95b1ecb5564fcf54def (diff)
downloadFreeBSD-src-ec7bafefbf6ca71e8d4b17f07256ae3b68e5c4ea.zip
FreeBSD-src-ec7bafefbf6ca71e8d4b17f07256ae3b68e5c4ea.tar.gz
Fix a flightsize bug related to the processing of PKTDRP reports.
MFC after: 3 days.
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/sctp_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_input.c b/sys/netinet/sctp_input.c
index 1ba35ae..77a413f 100644
--- a/sys/netinet/sctp_input.c
+++ b/sys/netinet/sctp_input.c
@@ -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;
OpenPOWER on IntegriCloud