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, Nov 23, 10:09 PM
Unknown Object (File)
Sat, Nov 15, 4:55 PM
Unknown Object (File)
Nov 10 2025, 1:34 AM
Unknown Object (File)
Nov 4 2025, 1:37 AM
Unknown Object (File)
Nov 4 2025, 1:33 AM
Unknown Object (File)
Nov 4 2025, 1:31 AM
Unknown Object (File)
Nov 4 2025, 1:25 AM
Unknown Object (File)
Nov 3 2025, 11:56 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable