diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c index 3923c214be8..91882ddb5fb 100644 --- a/sys/kern/kern_timeout.c +++ b/sys/kern/kern_timeout.c @@ -548,6 +548,8 @@ next: if (!TAILQ_EMPTY(&cc->cc_expireq)) { td = cc->cc_thread; if (TD_AWAITING_INTR(td)) { + thread_lock_block_wait(td); + THREAD_LOCK_ASSERT(td, MA_OWNED); TD_CLR_IWAIT(td); sched_add(td, SRQ_INTR); } else