svn commit: r216715 - releng/8.2/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Sun Dec 26 17:29:27 UTC 2010


Author: tuexen
Date: Sun Dec 26 17:29:26 2010
New Revision: 216715
URL: http://svn.freebsd.org/changeset/base/216715

Log:
  MFC c216502:
  Fix a flightsize bug related to the processing of PKTDRP reports.
  
  Approved by: re

Modified:
  releng/8.2/sys/netinet/sctp_input.c
Directory Properties:
  releng/8.2/sys/   (props changed)
  releng/8.2/sys/amd64/include/xen/   (props changed)
  releng/8.2/sys/cddl/contrib/opensolaris/   (props changed)
  releng/8.2/sys/contrib/dev/acpica/   (props changed)
  releng/8.2/sys/contrib/pf/   (props changed)

Modified: releng/8.2/sys/netinet/sctp_input.c
==============================================================================
--- releng/8.2/sys/netinet/sctp_input.c	Sun Dec 26 17:21:47 2010	(r216714)
+++ releng/8.2/sys/netinet/sctp_input.c	Sun Dec 26 17:29:26 2010	(r216715)
@@ -3156,7 +3156,6 @@ process_chunk_drop(struct sctp_tcb *stcb
 				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
 					sctp_flight_size_decrease(tp1);
 					sctp_total_flight_decrease(stcb, tp1);
 				}
+				tp1->sent = SCTP_DATAGRAM_RESEND;
 			} {
 				/* audit code */
 				unsigned int audit;


More information about the svn-src-all mailing list