Re: dis/advantages of compiling in-kernel over kldload

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Wed, 12 Jul 2023 18:05:32 UTC
On 12 Jul 2023, at 19:58, void <void@f-m.fm> wrote:
> 
> On Wed, Jul 12, 2023 at 11:53:32AM -0600, Warner Losh wrote:
> 
>> Yes. pf_enable=YES will load it as a side effect when it configures
>> pf, but isn't primarily to load it as a module. But if it's in the kernel,
>> you still need to configure pf on boot (or some time later).
> 
> But if pf is already configured in /etc/pf.conf, is pf_enable=YES still
> required in /etc/rc.conf ?

Yes. The rc.conf setting is needed for /etc/rc.d/pf, which is the
command script responsible for bringing pf up (or down).

-Dimitry