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")
Differential D56501
pf: Use MTX_DUPOK to initialize hash chain mutexes Authored by markj on Sat, Apr 18, 12:12 PM. Tags None Referenced Files
Subscribers
Details
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")
Diff Detail
Event TimelineComment Actions I screwed up, but not on this hash. Looking at cd5ff4e841fb I see that I lost MTX_DUPOK on UDP endpoint hash.
Comment Actions I did see a warning about that recently but didn't investigate too much. This (with Gleb's remark) makes sense.
| ||||||||||||||||||||||||||||||||||||||||||||