Page MenuHomeFreeBSD

D17501.id49945.diff
No OneTemporary

D17501.id49945.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
Wed, May 27, 11:12 PM (11 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33568434
Default Alt Text
D17501.id49945.diff (587 B)

Event Timeline