Page MenuHomeFreeBSD

pfsync: locking fixes
ClosedPublic

Authored by kp on Dec 3 2021, 9:49 AM.
Tags
None
Referenced Files
F107017458: D33243.diff
Thu, Jan 9, 1:05 AM
Unknown Object (File)
Sat, Jan 4, 9:29 AM
Unknown Object (File)
Dec 7 2024, 6:10 AM
Unknown Object (File)
Nov 13 2024, 11:32 PM
Unknown Object (File)
Nov 2 2024, 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

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