Page MenuHomeFreeBSD

pfsync: fix defer timeout
ClosedPublic

Authored by kp on Dec 3 2021, 9:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 28, 2:04 AM
Unknown Object (File)
Fri, Apr 26, 1:24 PM
Unknown Object (File)
Fri, Apr 26, 1:24 PM
Unknown Object (File)
Fri, Apr 26, 1:22 PM
Unknown Object (File)
Fri, Apr 26, 12:44 PM
Unknown Object (File)
Mar 14 2024, 1:16 AM
Unknown Object (File)
Feb 13 2024, 12:37 PM
Unknown Object (File)
Jan 19 2024, 2:08 AM

Details

Summary

Don't use a fixed number of ticks, but take hz into account so we have a
consistent timeout, regardless of what hz is set up.
Use a 20ms timeout, becaues that's what OpenBSD uses.

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 43117
Build 40005: arc lint + arc unit