diff options
author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2012-02-13 19:50:26 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2013-08-05 14:43:30 -0700 |
commit | 7c6d7024e51780d3aacf9063d2133c1e957d7eea (patch) | |
tree | 1a95897ab95afced7b764ab24eef540b56c9e2c3 /usr/src/uts/common/inet/tcp/tcp.c | |
parent | 096b23783d19eb083bccc3cbd5225b5345ca83fb (diff) | |
download | illumos-joyent-7c6d7024e51780d3aacf9063d2133c1e957d7eea.tar.gz |
3925 IP DCE does not scale
Reviewed by: Keith M Wesolowski <wesolows@foobazco.org>
Reviewed by: Theo Schlossnagle <jesus@omniti.com>
Reviewed by: Sebastien Roy <seb@delphix.com>
Approved by: Dan McDonald <danmcd@nexenta.com>
Diffstat (limited to 'usr/src/uts/common/inet/tcp/tcp.c')
-rw-r--r-- | usr/src/uts/common/inet/tcp/tcp.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/src/uts/common/inet/tcp/tcp.c b/usr/src/uts/common/inet/tcp/tcp.c index 49ab70eed4..5ba1c603c0 100644 --- a/usr/src/uts/common/inet/tcp/tcp.c +++ b/usr/src/uts/common/inet/tcp/tcp.c @@ -3793,7 +3793,8 @@ tcp_stack_init(netstackid_t stackid, netstack_t *ns) ASSERT(error == 0); tcps->tcps_ixa_cleanup_mp = allocb_wait(0, BPRI_MED, STR_NOSIG, NULL); ASSERT(tcps->tcps_ixa_cleanup_mp != NULL); - cv_init(&tcps->tcps_ixa_cleanup_cv, NULL, CV_DEFAULT, NULL); + cv_init(&tcps->tcps_ixa_cleanup_ready_cv, NULL, CV_DEFAULT, NULL); + cv_init(&tcps->tcps_ixa_cleanup_done_cv, NULL, CV_DEFAULT, NULL); mutex_init(&tcps->tcps_ixa_cleanup_lock, NULL, MUTEX_DEFAULT, NULL); mutex_init(&tcps->tcps_reclaim_lock, NULL, MUTEX_DEFAULT, NULL); @@ -3858,7 +3859,8 @@ tcp_stack_fini(netstackid_t stackid, void *arg) freeb(tcps->tcps_ixa_cleanup_mp); tcps->tcps_ixa_cleanup_mp = NULL; - cv_destroy(&tcps->tcps_ixa_cleanup_cv); + cv_destroy(&tcps->tcps_ixa_cleanup_ready_cv); + cv_destroy(&tcps->tcps_ixa_cleanup_done_cv); mutex_destroy(&tcps->tcps_ixa_cleanup_lock); /* |