diff options
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/subr_sleepqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_sleepqueue.c b/sys/kern/subr_sleepqueue.c index 47d9a369e2d0..1062eafb70da 100644 --- a/sys/kern/subr_sleepqueue.c +++ b/sys/kern/subr_sleepqueue.c @@ -413,7 +413,6 @@ sleepq_catch_signals(void *wchan) mtx_lock_spin(&sched_lock); if (TD_ON_SLEEPQ(td)) sleepq_resume_thread(sq, td, -1); - td->td_flags &= ~TDF_SINTR; return (ret); } @@ -633,6 +632,7 @@ sleepq_resume_thread(struct sleepqueue *sq, struct thread *td, int pri) td->td_wmesg = NULL; td->td_wchan = NULL; + td->td_flags &= ~TDF_SINTR; /* * Note that thread td might not be sleeping if it is running |