summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2011-01-26 21:38:17 +0000
committertuexen <tuexen@FreeBSD.org>2011-01-26 21:38:17 +0000
commit901b1779e73af0fbf7acd7587ac2a746736e1190 (patch)
treefc4296df3577913c140f68b7b0fcf0b54969d711
parent2a88787bc5bdc6c342f4c665a746b5ab784a0a5f (diff)
downloadFreeBSD-src-901b1779e73af0fbf7acd7587ac2a746736e1190.zip
FreeBSD-src-901b1779e73af0fbf7acd7587ac2a746736e1190.tar.gz
* Use 300 ms as the default for RTO_MIN.
* Disable burst mitigation by default. * Remove unused constant. Discussed with rrs. MFC after: 3 months.
-rw-r--r--sys/netinet/sctp_constants.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/netinet/sctp_constants.h b/sys/netinet/sctp_constants.h
index 76f259e..988ec9e 100644
--- a/sys/netinet/sctp_constants.h
+++ b/sys/netinet/sctp_constants.h
@@ -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 */
OpenPOWER on IntegriCloud