HomeFreeBSD

in_pcb: Fix RIPCB_HASH in kernels without INET or INET6

Description

in_pcb: Fix RIPCB_HASH in kernels without INET or INET6

Only use hashes for protocols that are enabled in the kernel
configuration.

Fixes: ece716c5d347 ("raw ip: move hash table manipulation to inpcb layer")

Details

Provenance
jhbAuthored on Apr 14 2026, 6:25 PM
Parents
rG4fadf2466468: tcp_close: Use in6_pcbdisconnect for INET6 sockets
Branches
Unknown
Tags
Unknown