summaryrefslogtreecommitdiff
path: root/sys/net/if_pflog.c
diff options
context:
space:
mode:
authorKlemens Nanni <kn@cvs.openbsd.org>2023-05-26 12:13:27 +0000
committerKlemens Nanni <kn@cvs.openbsd.org>2023-05-26 12:13:27 +0000
commitf115db15e0b8caba3a297521d14fe563f471081f (patch)
treeb0f62e5e85a8cfe15d5f20e8f513d017fe4ff35c /sys/net/if_pflog.c
parent4f044566a45cb3580ac5cad3d587d3a9457b99f9 (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