mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix TDP_WAKEUP/thr_wake(curthread->td_tid) after r366428.
Reported by: arichardson Reviewed by: arichardson, markj Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D27597
This commit is contained in:
parent
0b459854bc
commit
203affb291
1 changed files with 1 additions and 3 deletions
|
|
@ -441,12 +441,10 @@ sleepq_check_ast_sc_locked(struct thread *td, struct sleepqueue_chain *sc)
|
|||
|
||||
mtx_assert(&sc->sc_lock, MA_OWNED);
|
||||
|
||||
ret = 0;
|
||||
if ((td->td_pflags & TDP_WAKEUP) != 0) {
|
||||
td->td_pflags &= ~TDP_WAKEUP;
|
||||
ret = EINTR;
|
||||
thread_lock(td);
|
||||
return (0);
|
||||
return (EINTR);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue