diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2023-05-26 12:13:27 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2023-05-26 12:13:27 +0000 |
commit | f115db15e0b8caba3a297521d14fe563f471081f (patch) | |
tree | b0f62e5e85a8cfe15d5f20e8f513d017fe4ff35c /sys/net/if_pflog.c | |
parent | 4f044566a45cb3580ac5cad3d587d3a9457b99f9 (diff) |
Remove net lock from DIOC{S,G}ETLIMIT
Grab the pf lock for pf_pool_limits[] in pfsync such that all access is
covered by the pf lock; document accordingly.
Hard memory pool limits don't need the net lock for protection, pool(9)s
have their own internal lock and the pf lock fully covers limit values.
(pf_pool_limits[] access in DIOCXCOMMIT remains under pf *and net* lock
until the rest in there gets pulled out of the net lock.)
OK sashan
Diffstat (limited to 'sys/net/if_pflog.c')
0 files changed, 0 insertions, 0 deletions