mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
set ke_bound to NULL when kse owner thread becomes runnable.
Reviewed by: julian (mentor)
This commit is contained in:
parent
0b024d3643
commit
5da2b58aeb
1 changed files with 1 additions and 0 deletions
|
|
@ -359,6 +359,7 @@ setrunqueue(struct thread *td)
|
|||
KASSERT((td->td_kse != NULL),
|
||||
("queueing BAD thread to run queue"));
|
||||
ke = td->td_kse;
|
||||
ke->ke_bound = NULL;
|
||||
if (ke->ke_flags & KEF_ONLOANQ) {
|
||||
ke->ke_flags &= ~KEF_ONLOANQ;
|
||||
TAILQ_REMOVE(&kg->kg_lq, ke, ke_kgrlist);
|
||||
|
|
|
|||
Loading…
Reference in a new issue