Page MenuHomeFreeBSD

pfsync: locking fixes
ClosedPublic

Authored by kp on Dec 3 2021, 9:49 AM.
Tags
None
Referenced Files
F102553383: D33243.diff
Wed, Nov 13, 11:32 PM
Unknown Object (File)
Sat, Nov 2, 6:00 AM
Unknown Object (File)
Oct 7 2024, 11:35 AM
Unknown Object (File)
Oct 6 2024, 4:39 PM
Unknown Object (File)
Oct 6 2024, 10:55 AM
Unknown Object (File)
Oct 6 2024, 8:39 AM
Unknown Object (File)
Oct 4 2024, 10:06 AM
Unknown Object (File)
Oct 4 2024, 7:06 AM

Details

Summary
  • Ensure we unlock the pfsync lock in pfsync_defer()
  • We must hold the bucket lock when calling pfsync_push()
  • The pfsync_defer_tmo() callout locks the bucket lock, not the pfsync lock

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 43118
Build 40006: arc lint + arc unit