summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2004-10-19 22:51:20 +0000
committerandre <andre@FreeBSD.org>2004-10-19 22:51:20 +0000
commit513a1a5fd10b078870ffc4136452a275148b98cb (patch)
treeb8cdb961256069b57a3bd77da2870a9497573032 /sys/netinet
parent952f79699990e2a72bc72acf195a21d4170d63b1 (diff)
downloadFreeBSD-src-513a1a5fd10b078870ffc4136452a275148b98cb.zip
FreeBSD-src-513a1a5fd10b078870ffc4136452a275148b98cb.tar.gz
Destroy the UMA zone on unload.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_divert.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/ip_divert.c b/sys/netinet/ip_divert.c
index 01ade1a..d3efde0 100644
--- a/sys/netinet/ip_divert.c
+++ b/sys/netinet/ip_divert.c
@@ -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;
OpenPOWER on IntegriCloud