[Bug 263379] [regression] [ipsec] compatibility broken between stable/12 and stable/13 opencrypto in AEAD mode

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 19 May 2022 06:13:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263379

--- Comment #15 from commit-hook@FreeBSD.org ---
A commit in branch stable/12 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=dc72e1b86f8ae396215418cdeda037e37df11e98

commit dc72e1b86f8ae396215418cdeda037e37df11e98
Author:     Eugene Grosbein <eugen@FreeBSD.org>
AuthorDate: 2022-05-05 12:02:29 +0000
Commit:     Eugene Grosbein <eugen@FreeBSD.org>
CommitDate: 2022-05-19 06:11:34 +0000

    setkey: 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)

 sbin/setkey/setkey.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

-- 
You are receiving this mail because:
You are on the CC list for the bug.