]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: add pf_config_lock
authorMateusz Guzik <mjg@FreeBSD.org>
Fri, 25 Feb 2022 17:56:45 +0000 (18:56 +0100)
committerMateusz Guzik <mjg@FreeBSD.org>
Mon, 28 Mar 2022 11:44:46 +0000 (11:44 +0000)
commit93f8c38c0371139fbe444b645ef36ae0d92d400a
tree99159dc85badce73985e7eccc25ee8d012c16cf8
parent2f968abce5439d5a71b6b685416b219f0450fd5b
pf: add pf_config_lock

For now only protects rule creation/destruction, but will allow
gradually reducing the scope of rules lock when changing the
rules.

Reviewed by: kp
Sponsored by: Rubicon Communications, LLC ("Netgate")
sys/net/pfvar.h
sys/netpfil/pf/pf.c
sys/netpfil/pf/pf_ioctl.c