Page MenuHomeFreeBSD

pfsync: fix defer timeout
ClosedPublic

Authored by kp on Dec 3 2021, 9:48 AM.
Tags
None
Referenced Files
F102410193: D33242.id99545.diff
Mon, Nov 11, 9:48 PM
Unknown Object (File)
Mon, Nov 11, 4:23 AM
Unknown Object (File)
Sun, Nov 10, 9:24 AM
Unknown Object (File)
Sun, Nov 10, 6:28 AM
Unknown Object (File)
Sat, Nov 2, 6:20 AM
Unknown Object (File)
Sat, Nov 2, 6:20 AM
Unknown Object (File)
Sat, Nov 2, 6:20 AM
Unknown Object (File)
Sat, Nov 2, 5:58 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable