summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_sysctl.c
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2007-06-13 01:31:53 +0000
committerrrs <rrs@FreeBSD.org>2007-06-13 01:31:53 +0000
commit20ad8ecfb0af809f13b9dc6e5ab994548e0d785c (patch)
tree8d5bbe40650c2eb2f33e58ff8a55f66ae96d6c38 /sys/netinet/sctp_sysctl.c
parentec70de06d657f80cf4eaa0dee9fa7938ca45ac46 (diff)
downloadFreeBSD-src-20ad8ecfb0af809f13b9dc6e5ab994548e0d785c.zip
FreeBSD-src-20ad8ecfb0af809f13b9dc6e5ab994548e0d785c.tar.gz
- Fixed cookie handling to calc an RTO when
its an INIT collision case. - Fixed RTO calc to maintain a seperate variable to track if a RTO calc as been done, this allows the RTO var to be doubled during initial timeouts. - Reduces the amount of stack used by process control. - Use a constant for the peer chunk overhead. - Name change to spell candidate correctly.
Diffstat (limited to 'sys/netinet/sctp_sysctl.c')
-rw-r--r--sys/netinet/sctp_sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_sysctl.c b/sys/netinet/sctp_sysctl.c
index c76b01f..04bb078 100644
--- a/sys/netinet/sctp_sysctl.c
+++ b/sys/netinet/sctp_sysctl.c
@@ -58,7 +58,7 @@ uint32_t sctp_strict_init = 1;
uint32_t sctp_abort_if_one_2_one_hits_limit = 0;
uint32_t sctp_strict_data_order = 0;
-uint32_t sctp_peer_chunk_oh = sizeof(struct mbuf);
+uint32_t sctp_peer_chunk_oh = SCTPCTL_PEER_CHKOH_DEFAULT;
uint32_t sctp_max_burst_default = SCTP_DEF_MAX_BURST;
uint32_t sctp_use_cwnd_based_maxburst = 1;
uint32_t sctp_do_drain = 1;
OpenPOWER on IntegriCloud