Page MenuHomeFreeBSD

pfsync: fix defer timeout
ClosedPublic

Authored by kp on Dec 3 2021, 9:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 10, 7:35 AM
Unknown Object (File)
Thu, Oct 1, 6:30 AM
Unknown Object (File)
Thu, Oct 1, 5:41 AM
Unknown Object (File)
Tue, Sep 22, 6:50 AM
Unknown Object (File)
Mon, Sep 21, 4:13 PM
Unknown Object (File)
Sep 11 2026, 4:27 AM
Unknown Object (File)
Sep 8 2026, 3:27 PM
Unknown Object (File)
Sep 6 2026, 8:05 PM

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