aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/ip_fw2.c
diff options
context:
space:
mode:
authorChristian S.J. Peron <csjp@FreeBSD.org>2006-01-20 03:21:25 +0000
committerChristian S.J. Peron <csjp@FreeBSD.org>2006-01-20 03:21:25 +0000
commite9186cb94be7619a0548e1c6b614ef42407c88dc (patch)
tree21247642a82c1282bc5f6218a13618d8d4accbc8 /sys/netinet/ip_fw2.c
parent677bc78b3914facf5eb0f30ab42abaa9d2cb5962 (diff)
downloadsrc-e9186cb94be7619a0548e1c6b614ef42407c88dc.tar.gz
src-e9186cb94be7619a0548e1c6b614ef42407c88dc.zip
Destroy the dynamic rule zone in the event that we fail to insert the
initial default rule. MFC after: 1 week
Notes
Notes: svn path=/head/; revision=154563
Diffstat (limited to 'sys/netinet/ip_fw2.c')
-rw-r--r--sys/netinet/ip_fw2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c
index 62377095194a..ffc499341bc3 100644
--- a/sys/netinet/ip_fw2.c
+++ b/sys/netinet/ip_fw2.c
@@ -4170,6 +4170,7 @@ ipfw_init(void)
"(support disabled)\n", error);
IPFW_DYN_LOCK_DESTROY();
IPFW_LOCK_DESTROY(&layer3_chain);
+ uma_zdestroy(ipfw_dyn_rule_zone);
return (error);
}