diff options
author | csjp <csjp@FreeBSD.org> | 2006-01-20 03:21:25 +0000 |
---|---|---|
committer | csjp <csjp@FreeBSD.org> | 2006-01-20 03:21:25 +0000 |
commit | 4b91dda12583662d0b29af69ebd64947c9d798ec (patch) | |
tree | 21247642a82c1282bc5f6218a13618d8d4accbc8 /sys/netinet/ip_fw2.c | |
parent | cc036a2601361dc3d2b946597a29c17912a900ea (diff) | |
download | FreeBSD-src-4b91dda12583662d0b29af69ebd64947c9d798ec.zip FreeBSD-src-4b91dda12583662d0b29af69ebd64947c9d798ec.tar.gz |
Destroy the dynamic rule zone in the event that we fail to insert the
initial default rule.
MFC after: 1 week
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 6237709..ffc4993 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); } |