]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: Allow net.pf.request_maxcount to be set from loader.conf
authorkp <kp@FreeBSD.org>
Sat, 12 Dec 2020 20:14:39 +0000 (20:14 +0000)
committerkp <kp@FreeBSD.org>
Sat, 12 Dec 2020 20:14:39 +0000 (20:14 +0000)
commita303ab6289038c44fed242a9d7f22b5a291a84ab
tree7f24b4b6fcb03eeb9b2b1f2e925a3e89998b77e6
parent10f1a99c103a464442c0b6d7f7ba21f1cce01ca2
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