summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2017-03-01 15:54:47 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2017-03-01 15:55:17 +0000
commit4e6a7ad1d66d170f06f503c78b8b137aeef8a8e7 (patch)
tree793291d4edfc9f657bb6472de5a8901d8ae74701
parent4fa363ca296221e73316b994680e92bca02f9b08 (diff)
downloadillumos-joyent-4e6a7ad1d66d170f06f503c78b8b137aeef8a8e7.tar.gz
OS-5990 fix for OS-5987 causes worker thread to mishandle some signals
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Approved by: Patrick Mooney <patrick.mooney@joyent.com>
-rw-r--r--usr/src/uts/common/brand/lx/syscall/lx_aio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/brand/lx/syscall/lx_aio.c b/usr/src/uts/common/brand/lx/syscall/lx_aio.c
index 57a6eae103..027c89ff99 100644
--- a/usr/src/uts/common/brand/lx/syscall/lx_aio.c
+++ b/usr/src/uts/common/brand/lx/syscall/lx_aio.c
@@ -736,7 +736,7 @@ lx_io_setup(uint_t nr_events, void *ctxp)
mutex_enter(&curproc->p_lock);
t->t_proc_flag = (t->t_proc_flag & ~TP_HOLDLWP) | TP_KTHREAD;
lwptolxlwp(l)->br_lwp_flags |= BR_AIO_LWP;
- curthread->t_hold = hold_set;
+ t->t_hold = hold_set;
lwp_create_done(t);
mutex_exit(&curproc->p_lock);
}