FreeBSD Bugzilla – Attachment 174843 Details for
Bug 212576
vnet jail startup and shutdown destroys ipfw object rewriter list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix the problem
ipfw.diff (text/plain), 946 bytes, created by
John Zielinski
on 2016-09-16 16:13:31 UTC
(
hide
)
Description:
patch to fix the problem
Filename:
MIME Type:
Creator:
John Zielinski
Created:
2016-09-16 16:13:31 UTC
Size:
946 bytes
patch
obsolete
>Index: sys/netpfil/ipfw/ip_fw2.c >=================================================================== >--- sys/netpfil/ipfw/ip_fw2.c (revision 305747) >+++ sys/netpfil/ipfw/ip_fw2.c (working copy) >@@ -2691,6 +2691,7 @@ > default_fw_tables = IPFW_TABLES_MAX; > > ipfw_init_sopt_handler(); >+ ipfw_init_obj_rewriter(); > ipfw_iface_init(); > return (error); > } >@@ -2703,6 +2704,7 @@ > { > > ipfw_iface_destroy(); >+ ipfw_destroy_obj_rewriter(); > ipfw_destroy_sopt_handler(); > printf("IP firewall unloaded\n"); > } >@@ -2738,7 +2740,6 @@ > /* 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; >@@ -2845,7 +2846,6 @@ > IPFW_LOCK_DESTROY(chain); > ipfw_dyn_uninit(1); /* free the remaining parts */ > ipfw_destroy_counters(); >- ipfw_destroy_obj_rewriter(); > return (0); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 212576
: 174843