]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: Allow net.pf.request_maxcount to be set from loader.conf
authorKristof Provost <kp@FreeBSD.org>
Sat, 12 Dec 2020 20:14:39 +0000 (20:14 +0000)
committerKristof Provost <kp@FreeBSD.org>
Sat, 12 Dec 2020 20:14:39 +0000 (20:14 +0000)
commit3420068a73e554b30a86f9327b1a63f40e3b4568
tree7f24b4b6fcb03eeb9b2b1f2e925a3e89998b77e6
parentb499ab877f3d6bf5e2c894edfcfdcf89ce7c79d3
pf: Allow net.pf.request_maxcount to be set from loader.conf

Mark request_maxcount as RWTUN so we can set it both at runtime and from
loader.conf. This avoids usings getting caught out by the change from tunable
to run time configuration.

Suggested by: Franco Fichtner
MFC after: 3 days
sys/netpfil/pf/pf.c