Page MenuHomeFreeBSD

pfsync: locking fixes
ClosedPublic

Authored by kp on Dec 3 2021, 9:49 AM.
Tags
None
Referenced Files
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
Unknown Object (File)
Oct 3 2024, 8: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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable