Page MenuHomeFreeBSD

pfsync: locking fixes
ClosedPublic

Authored by kp on Dec 3 2021, 9:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 7, 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
Unknown Object (File)
Oct 6 2024, 8:39 AM
Unknown Object (File)
Oct 4 2024, 10: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