HomeFreeBSD

inpcb: allow to specify different sizes for port and load balance hashes

Description

inpcb: allow to specify different sizes for port and load balance hashes

Understand zero size as instruction to not allocate the hash. Do not
allocate both hashes for rawip(4). There are no functional changes to TCP
or UDP.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D56705

Details

Provenance
glebiusAuthored on Apr 29 2026, 4:19 PM
Reviewer
markj
Differential Revision
D56705: inpcb: allow to specify different sizes for port and load balance hashes
Parents
rG9b8eb70ca974: inpcb: improve some internal function names
Branches
Unknown
Tags
Unknown