HomeFreeBSD

setkey(8): MFC: load ipsec.ko automatically

Description

setkey(8): MFC: load ipsec.ko automatically

If setkey(8) is used without ipsec.ko loaded beforehand,
its attempt to install SA/SPD into the kernel results in cryptic
EINVAL error code.

Let it be a bit more user-friendly and try to load ipsec.ko
automatically if it is not loaded, just like ifconfig(8) does it
for modules it needs.

PR: 263379

(cherry picked from commit 0aef8628458a7d03e3c7e63ae05e228191167eec)

Details

Provenance
eugen_grosbein.netAuthored on May 5 2022, 12:02 PM
Parents
rGd7417aa55e73: asmc: Update Mac Pro 6 sensor definitions
Branches
Unknown
Tags
Unknown