diff options
author | tuexen <tuexen@FreeBSD.org> | 2009-10-27 18:17:07 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2009-10-27 18:17:07 +0000 |
commit | 8c832e33496ba1c08df849bb64d5f441e98302dd (patch) | |
tree | d93ac6b143961bfba5322e9ac63fd685626192f9 | |
parent | 9bc12ec29ae2b69c85c75a1ce020e22401ab40c2 (diff) | |
download | FreeBSD-src-8c832e33496ba1c08df849bb64d5f441e98302dd.zip FreeBSD-src-8c832e33496ba1c08df849bb64d5f441e98302dd.tar.gz |
Bugfix: Use formula from section 7.2.3 of RFC 4960. Reported by Martin Becke.
Approved by: rrs (mentor)
MFC after: 3 days
-rw-r--r-- | sys/netinet/sctp_cc_functions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_cc_functions.c b/sys/netinet/sctp_cc_functions.c index 02fb1a9..8beff19 100644 --- a/sys/netinet/sctp_cc_functions.c +++ b/sys/netinet/sctp_cc_functions.c @@ -348,7 +348,7 @@ sctp_cwnd_update_after_timeout(struct sctp_tcb *stcb, struct sctp_nets *net) { 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; |