Page MenuHomeFreeBSD

ipdivert: Use CK_SLISTs for the divcb hash table
ClosedPublic

Authored by markj on Dec 1 2025, 2:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 19, 11:00 AM
Unknown Object (File)
Sat, Apr 11, 10:03 PM
Unknown Object (File)
Sat, Apr 11, 8:27 AM
Unknown Object (File)
Thu, Apr 9, 10:43 PM
Unknown Object (File)
Wed, Apr 8, 5:24 AM
Unknown Object (File)
Sat, Apr 4, 10:20 AM
Unknown Object (File)
Mar 17 2026, 2:43 AM
Unknown Object (File)
Mar 16 2026, 12:51 PM

Details

Summary

The hash table is accessed in ip_divert_packet(), and there the accesses
are synchronized only by the net epoch, so plain SLIST is not safe.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable