From 8b1782784b29d8e55b8738899156e553487f8b8f Mon Sep 17 00:00:00 2001 From: tuexen Date: Sun, 26 Dec 2010 17:29:26 +0000 Subject: [PATCH] MFC c216502: Fix a flightsize bug related to the processing of PKTDRP reports. Approved by: re git-svn-id: svn://svn.freebsd.org/base/releng/8.2@216715 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/netinet/sctp_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/sctp_input.c b/sys/netinet/sctp_input.c index 1ba35aee..77a413f5 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; -- 2.42.0