svn commit: r215579 - stable/8/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Sat Nov 20 19:29:19 UTC 2010
Author: tuexen
Date: Sat Nov 20 19:29:18 2010
New Revision: 215579
URL: http://svn.freebsd.org/changeset/base/215579
Log:
MFC r214877:
Do not resend DATA chunks without delay when dropped by the peer and
the CRC was correct.
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)
stable/8/sys/dev/xen/xenpci/ (props changed)
Modified: stable/8/sys/netinet/sctp_input.c
==============================================================================
--- stable/8/sys/netinet/sctp_input.c Sat Nov 20 19:26:35 2010 (r215578)
+++ stable/8/sys/netinet/sctp_input.c Sat Nov 20 19:29:18 2010 (r215579)
@@ -3115,6 +3115,10 @@ process_chunk_drop(struct sctp_tcb *stcb
if ((tp1) && (tp1->sent < SCTP_DATAGRAM_ACKED)) {
uint8_t *ddp;
+ if (((flg & SCTP_BADCRC) == 0) &&
+ ((flg & SCTP_FROM_MIDDLE_BOX) == 0)) {
+ return (0);
+ }
if ((stcb->asoc.peers_rwnd == 0) &&
((flg & SCTP_FROM_MIDDLE_BOX) == 0)) {
SCTP_STAT_INCR(sctps_pdrpdiwnp);
More information about the svn-src-stable
mailing list