mirror of
https://github.com/opnsense/src.git
synced 2026-06-06 07:12:52 -04:00
audit(9): do not touch VFS if panicing
Reported by: bz
This commit is contained in:
parent
dd78d987cb
commit
53ece2bea9
1 changed files with 2 additions and 1 deletions
|
|
@ -396,7 +396,8 @@ SYSINIT(audit_init, SI_SUB_AUDIT, SI_ORDER_FIRST, audit_init, NULL);
|
|||
void
|
||||
audit_shutdown(void *arg, int howto)
|
||||
{
|
||||
|
||||
if (KERNEL_PANICED())
|
||||
return;
|
||||
audit_rotate_vnode(NULL, NULL);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue