HomeFreeBSD

pf: Use MTX_DUPOK to initialize hash chain mutexes

Description

pf: Use MTX_DUPOK to initialize hash chain mutexes

pf_udp_mapping_insert() may lock more than one row at a time.

Fixes: cd5ff4e841fb ("pf: use hashalloc(9) for key, id, src-node and udp-endpoint hashes")
Reviewed by: kp
Differential Revision: https://reviews.freebsd.org/D56501

Details

Provenance
markjAuthored on Apr 20 2026, 4:48 PM
Reviewer
kp
Differential Revision
D56501: pf: Use MTX_DUPOK to initialize hash chain mutexes
Parents
rG019a4878831c: zfs: Fix the build on 32-bit platforms
Branches
Unknown
Tags
Unknown