Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 2009 18:17:07 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r198522 - head/sys/netinet
Message-ID:  <200910271817.n9RIH7x9038428@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Tue Oct 27 18:17:07 2009
New Revision: 198522
URL: http://svn.freebsd.org/changeset/base/198522

Log:
  Bugfix: Use formula from section 7.2.3 of RFC 4960. Reported by Martin Becke.
  
  Approved by: rrs (mentor)
  MFC after: 3 days

Modified:
  head/sys/netinet/sctp_cc_functions.c

Modified: head/sys/netinet/sctp_cc_functions.c
==============================================================================
--- head/sys/netinet/sctp_cc_functions.c	Tue Oct 27 17:22:03 2009	(r198521)
+++ head/sys/netinet/sctp_cc_functions.c	Tue Oct 27 18:17:07 2009	(r198522)
@@ -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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910271817.n9RIH7x9038428>