svn commit: r202488 - stable/8/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Sun Jan 17 16:58:37 UTC 2010


Author: tuexen
Date: Sun Jan 17 16:58:37 2010
New Revision: 202488
URL: http://svn.freebsd.org/changeset/base/202488

Log:
  MFC 198522:
  
  Bugfix: Use formula from section 7.2.3 of RFC 4960. Reported by Martin Becke.

Modified:
  stable/8/sys/netinet/sctp_cc_functions.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_cc_functions.c
==============================================================================
--- stable/8/sys/netinet/sctp_cc_functions.c	Sun Jan 17 15:43:14 2010	(r202487)
+++ stable/8/sys/netinet/sctp_cc_functions.c	Sun Jan 17 16:58:37 2010	(r202488)
@@ -348,7 +348,7 @@ sctp_cwnd_update_after_timeout(struct sc
 {
 	int old_cwnd = net->cwnd;
 
-	net->ssthresh = max(net->cwnd / 2, 2 * net->mtu);
+	net->ssthresh = max(net->cwnd / 2, 4 * net->mtu);
 	net->cwnd = net->mtu;
 	net->partial_bytes_acked = 0;
 


More information about the svn-src-stable mailing list