diff options
Diffstat (limited to 'sys/kern/subr_trap.c')
-rw-r--r-- | sys/kern/subr_trap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c index 85edeed..951283a 100644 --- a/sys/kern/subr_trap.c +++ b/sys/kern/subr_trap.c @@ -236,5 +236,8 @@ ast(struct trapframe *framep) } userret(td, framep, sticks); +#ifdef DIAGNOSTIC + cred_free_thread(td); +#endif mtx_assert(&Giant, MA_NOTOWNED); } |