Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F172550155
D10592.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
571 B
Referenced Files
None
Subscribers
None
D10592.id.diff
View Options
Index: head/sys/netpfil/pf/pf_ioctl.c
===================================================================
--- head/sys/netpfil/pf/pf_ioctl.c
+++ head/sys/netpfil/pf/pf_ioctl.c
@@ -3712,17 +3712,8 @@
static void
pf_load_vnet(void)
{
- VNET_ITERATOR_DECL(vnet_iter);
-
- VNET_LIST_RLOCK();
- VNET_FOREACH(vnet_iter) {
- CURVNET_SET(vnet_iter);
- V_pf_pfil_hooked = 0;
- TAILQ_INIT(&V_pf_tags);
- TAILQ_INIT(&V_pf_qids);
- CURVNET_RESTORE();
- }
- VNET_LIST_RUNLOCK();
+ TAILQ_INIT(&V_pf_tags);
+ TAILQ_INIT(&V_pf_qids);
pfattach_vnet();
V_pf_vnet_active = 1;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Sep 20, 4:58 AM (20 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39233948
Default Alt Text
D10592.id.diff (571 B)
Attached To
Mode
D10592: pf: Fix vnet initialisation
Attached
Detach File
Event Timeline
Log In to Comment