[Bug 280435] security/strongswan: Kernel_pfkey plugin's sadb_ext_type_names ENUM is out of date with the latest pfkeyv2.h in the base

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 29 Jul 2024 13:42:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280435

kwf@nanoteq.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|security/strongswan:        |security/strongswan:
                   |Kernel_pfkey plugin's       |Kernel_pfkey plugin's
                   |sadb_ext_type_names ENUM    |sadb_ext_type_names ENUM is
                   |only caters for Linux       |out of date with the latest
                   |                            |pfkeyv2.h in the base

--- Comment #1 from kwf@nanoteq.com ---
Initial assessment of the bug was incorrect and the patch won't fix anything.

The pfkeyv2.h in the base was updated to cater for hardware offloading and the 
SADB_EXT_MAX updated to 31 while the ENUM in the kernel_pfkey_ipsec.c still
uses the original list.

Fix should be to add the additional definitions to the list with compile-time
flags (ifdefs) as to whether it should be enabled.

-- 
You are receiving this mail because:
You are the assignee for the bug.