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
F151333781: D54580.id.diff
Tue, Apr 7, 4:26 PM
F151328092: D54580.id169256.diff
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)
Mon, Mar 9, 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 Not Applicable
Unit
Tests Not Applicable