Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103485879
D23599.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
717 B
Referenced Files
None
Subscribers
None
D23599.diff
View Options
Index: head/sys/netpfil/ipfw/ip_fw_dynamic.c
===================================================================
--- head/sys/netpfil/ipfw/ip_fw_dynamic.c
+++ head/sys/netpfil/ipfw/ip_fw_dynamic.c
@@ -2718,6 +2718,7 @@
static void
dyn_tick(void *vnetx)
{
+ struct epoch_tracker et;
uint32_t buckets;
CURVNET_SET((struct vnet *)vnetx);
@@ -2740,10 +2741,12 @@
if (V_dyn_keepalive != 0 &&
V_dyn_keepalive_last + V_dyn_keepalive_period <= time_uptime) {
V_dyn_keepalive_last = time_uptime;
+ NET_EPOCH_ENTER(et);
dyn_send_keepalive_ipv4(&V_layer3_chain);
#ifdef INET6
dyn_send_keepalive_ipv6(&V_layer3_chain);
#endif
+ NET_EPOCH_EXIT(et);
}
/*
* Check if we need to resize the hash:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 26, 3:38 PM (7 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14864434
Default Alt Text
D23599.diff (717 B)
Attached To
Mode
D23599: Add missing EPOCH(9) wrapper in ipfw
Attached
Detach File
Event Timeline
Log In to Comment