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)
Wed, Aug 5, 4:48 AM
Unknown Object (File)
Wed, Aug 5, 4:47 AM
Unknown Object (File)
Tue, Aug 4, 9:22 PM
Unknown Object (File)
Mon, Aug 3, 7:21 AM
Unknown Object (File)
Mon, Aug 3, 3:06 AM
Unknown Object (File)
Mon, Aug 3, 12:38 AM
Unknown Object (File)
Sun, Aug 2, 4:39 AM
Unknown Object (File)
Sat, Aug 1, 5:26 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 Not Applicable
Unit
Tests Not Applicable