Author: tuexen
Date: Mon Jan 18 20:57:50 2010
New Revision: 202589
URL: http://svn.freebsd.org/changeset/base/202589

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

Modified:
  stable/7/sys/netinet/sctp_cc_functions.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/netinet/sctp_cc_functions.c
==============================================================================
--- stable/7/sys/netinet/sctp_cc_functions.c    Mon Jan 18 20:34:00 2010        
(r202588)
+++ stable/7/sys/netinet/sctp_cc_functions.c    Mon Jan 18 20:57:50 2010        
(r202589)
@@ -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;
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to