mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Use td->td_sticks, not td->td_kse->ke_sticks.
Forgotten by: davidxu
This commit is contained in:
parent
7b180a30e1
commit
8519f3983c
2 changed files with 2 additions and 2 deletions
|
|
@ -169,7 +169,7 @@ trap(struct trapframe *frame)
|
|||
trapname(type), user ? "user" : "kernel");
|
||||
|
||||
if (user) {
|
||||
sticks = td->td_kse->ke_sticks;
|
||||
sticks = td->td_sticks;
|
||||
td->td_frame = frame;
|
||||
if (td->td_ucred != p->p_ucred)
|
||||
cred_update_thread(td);
|
||||
|
|
|
|||
|
|
@ -169,7 +169,7 @@ trap(struct trapframe *frame)
|
|||
trapname(type), user ? "user" : "kernel");
|
||||
|
||||
if (user) {
|
||||
sticks = td->td_kse->ke_sticks;
|
||||
sticks = td->td_sticks;
|
||||
td->td_frame = frame;
|
||||
if (td->td_ucred != p->p_ucred)
|
||||
cred_update_thread(td);
|
||||
|
|
|
|||
Loading…
Reference in a new issue