Date: Sun, 26 Dec 2010 17:21:47 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r216714 - stable/8/sys/netinet Message-ID: <201012261721.oBQHLlwH093785@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tuexen Date: Sun Dec 26 17:21:47 2010 New Revision: 216714 URL: http://svn.freebsd.org/changeset/base/216714 Log: MFC c216502: Fix a flightsize bug related to the processing of PKTDRP reports. Approved by: re Modified: stable/8/sys/netinet/sctp_input.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/netinet/sctp_input.c ============================================================================== --- stable/8/sys/netinet/sctp_input.c Sun Dec 26 15:15:28 2010 (r216713) +++ stable/8/sys/netinet/sctp_input.c Sun Dec 26 17:21:47 2010 (r216714) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012261721.oBQHLlwH093785>