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)
Tue, Apr 7, 4:26 PM
Unknown Object (File)
Tue, Apr 7, 3:28 PM
Unknown Object (File)
Sun, Mar 15, 3:48 PM
Unknown Object (File)
Thu, Mar 12, 3:26 AM
Unknown Object (File)
Mar 9 2026, 7:21 PM
Unknown Object (File)
Mar 6 2026, 10:59 AM
Unknown Object (File)
Mar 1 2026, 1:29 PM
Unknown Object (File)
Feb 11 2026, 1:39 AM

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