Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105967312
D33242.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
659 B
Referenced Files
None
Subscribers
None
D33242.diff
View Options
diff --git a/sys/netpfil/pf/if_pfsync.c b/sys/netpfil/pf/if_pfsync.c
--- a/sys/netpfil/pf/if_pfsync.c
+++ b/sys/netpfil/pf/if_pfsync.c
@@ -316,6 +316,7 @@
struct pf_kstate *);
#define PFSYNC_MAX_BULKTRIES 12
+#define PFSYNC_DEFER_TIMEOUT ((20 * hz) / 1000)
VNET_DEFINE(struct if_clone *, pfsync_cloner);
#define V_pfsync_cloner VNET(pfsync_cloner)
@@ -1769,7 +1770,7 @@
TAILQ_INSERT_TAIL(&b->b_deferrals, pd, pd_entry);
callout_init_mtx(&pd->pd_tmo, &b->b_mtx, CALLOUT_RETURNUNLOCKED);
- callout_reset(&pd->pd_tmo, 10, pfsync_defer_tmo, pd);
+ callout_reset(&pd->pd_tmo, PFSYNC_DEFER_TIMEOUT, pfsync_defer_tmo, pd);
pfsync_push(b);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 24, 5:46 AM (14 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15585821
Default Alt Text
D33242.diff (659 B)
Attached To
Mode
D33242: pfsync: fix defer timeout
Attached
Detach File
Event Timeline
Log In to Comment