mirror of
https://github.com/opnsense/src.git
synced 2026-05-14 01:59:44 -04:00
pseudofs: Destroy vncache hashtbl on pseudofs module unload.
Reviewed by: mjg, kib
Differential Revision: https://reviews.freebsd.org/D31605
MFC after: 2 weeks
(cherry picked from commit 0f74021fb6)
This commit is contained in:
parent
d239c3416d
commit
00a4cd973c
1 changed files with 1 additions and 0 deletions
|
|
@ -108,6 +108,7 @@ pfs_vncache_unload(void)
|
|||
KASSERT(pfs_vncache_entries == 0,
|
||||
("%d vncache entries remaining", pfs_vncache_entries));
|
||||
mtx_destroy(&pfs_vncache_mutex);
|
||||
hashdestroy(pfs_vncache_hashtbl, M_PFSVNCACHE, pfs_vncache_hash);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue