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
F153163658: D54580.id169256.diff
Sun, Apr 19, 1:28 PM
F153063869: D54580.id169921.diff
Sat, Apr 18, 10:12 PM
Unknown Object (File)
Sat, Apr 18, 5:49 PM
Unknown Object (File)
Sun, Apr 12, 2:00 AM
Unknown Object (File)
Tue, Apr 7, 4:26 PM
Unknown Object (File)
Tue, Apr 7, 3:28 PM
Unknown Object (File)
Mar 15 2026, 3:48 PM
Unknown Object (File)
Mar 12 2026, 3:26 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 Not Applicable
Unit
Tests Not Applicable