diff options
author | Glen Barber <gjb@FreeBSD.org> | 2015-05-01 18:07:18 +0000 |
---|---|---|
committer | Glen Barber <gjb@FreeBSD.org> | 2015-05-01 18:07:18 +0000 |
commit | de7df74b4855cd9bdd01583a12409d5b1e6da354 (patch) | |
tree | ca54c9ba1af0ca2eb29e395b069252993a4e1ada /sys/netpfil/ipfw/ip_fw2.c | |
parent | 7263c8c0998402e9860a0865013fbec4ece98cd4 (diff) | |
parent | 24f93ee714b6bc904bdc6e7f7022c4dbe1117581 (diff) | |
download | src-de7df74b4855cd9bdd01583a12409d5b1e6da354.tar.gz src-de7df74b4855cd9bdd01583a12409d5b1e6da354.zip |
MFH: r281855-r282312
Sponsored by: The FreeBSD Foundation
Notes
Notes:
svn path=/projects/release-arm-redux/; revision=282313
Diffstat (limited to 'sys/netpfil/ipfw/ip_fw2.c')
-rw-r--r-- | sys/netpfil/ipfw/ip_fw2.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/netpfil/ipfw/ip_fw2.c b/sys/netpfil/ipfw/ip_fw2.c index a30f6bf9fef0..4da0ee015663 100644 --- a/sys/netpfil/ipfw/ip_fw2.c +++ b/sys/netpfil/ipfw/ip_fw2.c @@ -2762,6 +2762,10 @@ vnet_ipfw_init(const void *unused) LIST_INIT(&chain->nat); #endif + /* Init shared services hash table */ + ipfw_init_srv(chain); + + ipfw_init_obj_rewriter(); ipfw_init_counters(); /* insert the default rule and create the initial map */ chain->n_rules = 1; @@ -2860,9 +2864,11 @@ vnet_ipfw_uninit(const void *unused) if (reap != NULL) ipfw_reap_rules(reap); vnet_ipfw_iface_destroy(chain); + ipfw_destroy_srv(chain); IPFW_LOCK_DESTROY(chain); ipfw_dyn_uninit(1); /* free the remaining parts */ ipfw_destroy_counters(); + ipfw_destroy_obj_rewriter(); return (0); } |