HomeFreeBSD

divert: Use CK_SLISTs for the divcb hash table

Description

divert: Use CK_SLISTs for the divcb hash table

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.

Reviewed by: ae
MFC after: 1 week
Sponsored by: OPNsense
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D54011

Details

Provenance
markjAuthored on Dec 3 2025, 1:43 PM
Reviewer
ae
Differential Revision
D54011: ipdivert: Use CK_SLISTs for the divcb hash table
Parents
rG20a0a2f8f36f: riscv/pmap: Handle superpages in pmap_extract_and_hold()
Branches
Unknown
Tags
Unknown