Author: tuexen
Date: Wed Jan 26 21:38:17 2011
New Revision: 217913
URL: http://svn.freebsd.org/changeset/base/217913

Log:
  * Use 300 ms as the default for RTO_MIN.
  * Disable burst mitigation by default.
  * Remove unused constant.
  Discussed with rrs.
  MFC after: 3 months.

Modified:
  head/sys/netinet/sctp_constants.h

Modified: head/sys/netinet/sctp_constants.h
==============================================================================
--- head/sys/netinet/sctp_constants.h   Wed Jan 26 21:22:06 2011        
(r217912)
+++ head/sys/netinet/sctp_constants.h   Wed Jan 26 21:38:17 2011        
(r217913)
@@ -343,8 +343,8 @@ __FBSDID("$FreeBSD$");
  */
 #define SCTP_NO_FR_UNLESS_SEGMENT_SMALLER 1
 
-/* default max I can burst out after a fast retransmit */
-#define SCTP_DEF_MAX_BURST 4
+/* default max I can burst out after a fast retransmit, 0 disables it */
+#define SCTP_DEF_MAX_BURST 0
 /* IP hdr (20/40) + 12+2+2 (enet) + sctp common 12 */
 #define SCTP_FIRST_MBUF_RESV 68
 /* Packet transmit states in the sent field */
@@ -642,8 +642,7 @@ __FBSDID("$FreeBSD$");
 #define SCTP_DEFAULT_SECRET_LIFE_SEC 3600
 
 #define SCTP_RTO_UPPER_BOUND   (60000) /* 60 sec in ms */
-#define SCTP_RTO_UPPER_BOUND_SEC 60    /* for the init timer */
-#define SCTP_RTO_LOWER_BOUND   (1000)  /* 1 sec in ms */
+#define SCTP_RTO_LOWER_BOUND   (300)   /* 0.3 sec is ms */
 #define SCTP_RTO_INITIAL       (3000)  /* 3 sec in ms */
 
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to