Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109373497
D34846.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
424 B
Referenced Files
None
Subscribers
None
D34846.diff
View Options
diff --git a/sys/netpfil/pf/pf_ioctl.c b/sys/netpfil/pf/pf_ioctl.c
--- a/sys/netpfil/pf/pf_ioctl.c
+++ b/sys/netpfil/pf/pf_ioctl.c
@@ -5089,6 +5089,8 @@
free(ioes, M_TEMP);
break;
}
+ /* Ensure there's no more ethernet rules to clean up. */
+ epoch_drain_callbacks(net_epoch_preempt);
PF_RULES_WLOCK();
for (i = 0, ioe = ioes; i < io->size; i++, ioe++) {
ioe->anchor[sizeof(ioe->anchor) - 1] = '\0';
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 5, 5:36 AM (20 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16462221
Default Alt Text
D34846.diff (424 B)
Attached To
Mode
D34846: pf: drain Ethernet rules cleanup before starting a new transaction
Attached
Detach File
Event Timeline
Log In to Comment