Page MenuHomeFreeBSD

ipfw: remove locking workarounds in the table code
ClosedPublic

Authored by glebius on Jan 7 2026, 5:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 17, 4:54 AM
Unknown Object (File)
Sun, May 17, 12:02 AM
Unknown Object (File)
Sat, May 16, 10:56 PM
Unknown Object (File)
Sat, May 16, 1:56 PM
Unknown Object (File)
Wed, May 13, 6:35 PM
Unknown Object (File)
Wed, May 13, 6:32 PM
Unknown Object (File)
Wed, May 13, 6:12 PM
Unknown Object (File)
Wed, May 13, 6:12 PM

Details

Summary

Before the "upper half lock" became sleepable the table manipulation code
needed sophisticated workarounds to recover from races, where the lock is
temporarily dropped to do malloc(M_WAITOK). Remove all these workarounds
as they are no longer needed.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 69689
Build 66572: arc lint + arc unit