aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2021-04-29 22:45:56 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2021-06-02 21:44:10 +0000
commit6b1dfc549caf2de3cc2b785a86257eedae491bdf (patch)
treed218bb05c5deea7099aa69b560fbe3ec5e1d4794
parent0cbc89fe44fd606a731268821e6a151ce077e110 (diff)
downloadsrc-6b1dfc549caf2de3cc2b785a86257eedae491bdf.tar.gz
src-6b1dfc549caf2de3cc2b785a86257eedae491bdf.zip
sctp: use RTO.Initial of 1 second as specified in RFC 4960bis
(cherry picked from commit eecdf5220b1a559e4b58c3c21daf502e3fbfd1cd)
-rw-r--r--sys/netinet/sctp_constants.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_constants.h b/sys/netinet/sctp_constants.h
index 28c543f88045..197b93791944 100644
--- a/sys/netinet/sctp_constants.h
+++ b/sys/netinet/sctp_constants.h
@@ -596,7 +596,7 @@ __FBSDID("$FreeBSD$");
#define SCTP_RTO_UPPER_BOUND (60000) /* 60 sec in ms */
#define SCTP_RTO_LOWER_BOUND (1000) /* 1 sec is ms */
-#define SCTP_RTO_INITIAL (3000) /* 3 sec in ms */
+#define SCTP_RTO_INITIAL (1000) /* 1 sec in ms */
#define SCTP_INP_KILL_TIMEOUT 20 /* number of ms to retry kill of inpcb */
#define SCTP_ASOC_KILL_TIMEOUT 10 /* number of ms to retry kill of inpcb */