created | 2023-06-03T18:54:12Z |
---|---|
begin | 2023-05-26T00:00:00Z |
end | 2023-05-27T00:00:00Z |
path | src/sys |
commits | 1 |
date | 2023-05-26T12:13:26Z | |||
---|---|---|---|---|
author | kn | |||
files | src/sys/net/if_pfsync.c | log | diff | annotate |
src/sys/net/pf_ioctl.c | log | diff | annotate | |
src/sys/net/pfvar.h | log | diff | annotate | |
message |
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 |