Destroy the UMA zone on unload.
This commit is contained in:
parent
2de1a9eb6e
commit
57bbe2e1ab
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=136717
@ -709,6 +709,7 @@ div_modevent(module_t mod, int type, void *unused)
|
||||
err = pf_proto_unregister(PF_INET, IPPROTO_DIVERT, SOCK_RAW);
|
||||
INP_INFO_WUNLOCK(&divcbinfo);
|
||||
INP_INFO_LOCK_DESTROY(&divcbinfo);
|
||||
uma_zdestroy(divcbinfo.ipi_zone);
|
||||
break;
|
||||
default:
|
||||
return EINVAL;
|
||||
|
Loading…
Reference in New Issue
Block a user