Page MenuHomeFreeBSD

pfsync: fix defer timeout
ClosedPublic

Authored by kp on Dec 3 2021, 9:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 11, 4:27 AM
Unknown Object (File)
Tue, Sep 8, 3:27 PM
Unknown Object (File)
Sun, Sep 6, 8:05 PM
Unknown Object (File)
Sun, Sep 6, 12:16 AM
Unknown Object (File)
Sat, Sep 5, 8:04 PM
Unknown Object (File)
Sat, Sep 5, 8:03 PM
Unknown Object (File)
Sat, Sep 5, 4:11 PM
Unknown Object (File)
Thu, Sep 3, 5:58 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