svn commit: r198522 - head/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Tue Oct 27 18:17:08 UTC 2009
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;
More information about the svn-src-head
mailing list