Page MenuHomeFreeBSD

D17501.diff
No OneTemporary

D17501.diff

Index: head/sys/netpfil/pf/if_pfsync.c
===================================================================
--- head/sys/netpfil/pf/if_pfsync.c
+++ head/sys/netpfil/pf/if_pfsync.c
@@ -2362,11 +2362,8 @@
if_clone_detach(V_pfsync_cloner);
swi_remove(V_pfsync_swi_cookie);
}
-/*
- * Detach after pf is gone; otherwise we might touch pfsync memory
- * from within pf after freeing pfsync.
- */
-VNET_SYSUNINIT(vnet_pfsync_uninit, SI_SUB_INIT_IF, SI_ORDER_SECOND,
+
+VNET_SYSUNINIT(vnet_pfsync_uninit, SI_SUB_PROTO_FIREWALL, SI_ORDER_FOURTH,
vnet_pfsync_uninit, NULL);
static int

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 12, 8:35 AM (16 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15763850
Default Alt Text
D17501.diff (587 B)

Event Timeline