Re: git: 8a9269edd71a - main - ipsec: sprinkle CURVNET_ASSERT_SET

From: Larry Rosenman <ler_at_lerctr.org>
Date: Sat, 19 Feb 2022 20:54:52 UTC
On 02/19/2022 7:11 am, Mateusz Guzik wrote:
> The branch main has been updated by mjg:
> 
> URL:
> https://cgit.FreeBSD.org/src/commit/?id=8a9269edd71a035384a5c97ab2d1a437691a3d87
> 
> commit 8a9269edd71a035384a5c97ab2d1a437691a3d87
> Author:     Mateusz Guzik <mjg@FreeBSD.org>
> AuthorDate: 2022-02-17 16:53:15 +0000
> Commit:     Mateusz Guzik <mjg@FreeBSD.org>
> CommitDate: 2022-02-19 13:10:41 +0000
> 
>     ipsec: sprinkle CURVNET_ASSERT_SET
> 
>     Reviewed by:    ae
>     Sponsored by:   Rubicon Communications, LLC ("Netgate")
>     Differential Revision:  https://reviews.freebsd.org/D34314

Broken build:
--- machine ---
machine -> /usr/src/sys/amd64/include
Building 
/usr/obj/usr/src/amd64.amd64/sys/LER-MINIMAL/modules/usr/src/sys/modules/i2c/controllers/lpbb/x86
--- key.o ---
/usr/src/sys/netipsec/key.c:1360:2: error: implicit declaration of 
function 'CURVNET_ASSERT_SET' is invalid in C99 
[-Werror,-Wimplicit-function-declaration]
         CURVNET_ASSERT_SET();
         ^
/usr/src/sys/netipsec/key.c:1384:2: error: implicit declaration of 
function 'CURVNET_ASSERT_SET' is invalid in C99 
[-Werror,-Wimplicit-function-declaration]
         CURVNET_ASSERT_SET();
         ^
/usr/src/sys/netipsec/key.c:2895:2: error: implicit declaration of 
function 'CURVNET_ASSERT_SET' is invalid in C99 
[-Werror,-Wimplicit-function-declaration]
         CURVNET_ASSERT_SET();
         ^
3 errors generated.



-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106