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
F163350131: D54580.id169256.diff
Wed, Jul 22, 9:54 AM
F163343426: D54580.id169921.diff
Wed, Jul 22, 8:06 AM
Unknown Object (File)
Tue, Jul 21, 7:31 AM
Unknown Object (File)
Mon, Jul 20, 3:11 PM
Unknown Object (File)
Sun, Jul 19, 10:46 PM
Unknown Object (File)
Sat, Jul 18, 10:10 AM
Unknown Object (File)
Wed, Jul 15, 7:01 AM
Unknown Object (File)
Wed, Jul 15, 7:01 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