Page MenuHomeFreeBSD

D23599.diff
No OneTemporary

D23599.diff

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

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)

Event Timeline