summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/inet/tcp/tcp_tunables.c
diff options
context:
space:
mode:
authorPatrick Mooney <pmooney@pfmooney.com>2016-02-01 22:45:26 +0000
committerPatrick Mooney <pmooney@pfmooney.com>2016-03-31 22:12:30 +0000
commitee89680cc992b1f5cbcd0fe2deb118270c5b93a2 (patch)
tree3efa7290978d0aafcb4161c9fb46d02ad7f38748 /usr/src/uts/common/inet/tcp/tcp_tunables.c
parente25540b8186c604af49295c7fb21e2af5cd67b4a (diff)
downloadillumos-joyent-ee89680cc992b1f5cbcd0fe2deb118270c5b93a2.tar.gz
OS-4859 Connections remain in TIME_WAIT too long
OS-5151 local TCP connections should be expediently purged from TIME_WAIT Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/uts/common/inet/tcp/tcp_tunables.c')
-rw-r--r--usr/src/uts/common/inet/tcp/tcp_tunables.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/common/inet/tcp/tcp_tunables.c b/usr/src/uts/common/inet/tcp/tcp_tunables.c
index e81d68b423..f4d6c71914 100644
--- a/usr/src/uts/common/inet/tcp/tcp_tunables.c
+++ b/usr/src/uts/common/inet/tcp/tcp_tunables.c
@@ -20,7 +20,7 @@
*/
/*
* Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright 2015, Joyent, Inc.
+ * Copyright 2016 Joyent, Inc.
* Copyright 2013 Nexenta Systems, Inc. All rights reserved.
* Copyright (c) 2013 by Delphix. All rights reserved.
*/
@@ -249,7 +249,7 @@ mod_prop_info_t tcp_propinfo_tbl[] = {
/* tunable - 0 */
{ "_time_wait_interval", MOD_PROTO_TCP,
mod_set_uint32, mod_get_uint32,
- {1*SECONDS, 10*MINUTES, 1*MINUTES}, {1*MINUTES} },
+ {1*SECONDS, TCP_TIME_WAIT_MAX, 1*MINUTES}, {1*MINUTES} },
{ "_conn_req_max_q", MOD_PROTO_TCP,
mod_set_uint32, mod_get_uint32,