diff options
author | Christian S.J. Peron <csjp@FreeBSD.org> | 2006-01-20 03:21:25 +0000 |
---|---|---|
committer | Christian S.J. Peron <csjp@FreeBSD.org> | 2006-01-20 03:21:25 +0000 |
commit | e9186cb94be7619a0548e1c6b614ef42407c88dc (patch) | |
tree | 21247642a82c1282bc5f6218a13618d8d4accbc8 /sys/netinet/ip_fw2.c | |
parent | 677bc78b3914facf5eb0f30ab42abaa9d2cb5962 (diff) | |
download | src-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.c | 1 |
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); } |