Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Nov 2016 17:50:54 +0100 (CET)
From:      Fabien THOMAS <fabien.thomas@stormshield.eu>
To:        Raphael Kubo da Costa <rakuco@FreeBSD.org>
Cc:        Fabien Thomas <fabient@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r309144 - in head: lib/libipsec sys/net sys/netipsec
Message-ID:  <528A24DF-BB88-45FA-926F-EE2DE9965C47@stormshield.eu>
In-Reply-To: <8660nbfddx.fsf@FreeBSD.org>
References:  <201611251444.uAPEinKb066023@repo.freebsd.org> <8660nbfddx.fsf@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi,

Sorry about that. Normally we build universe with it but it seems we missed something...
I've not access to a machine to fixit before monday...

Fabien

> Le 25 nov. 2016 à 22:32, Raphael Kubo da Costa <rakuco@FreeBSD.org> a écrit :
> 
> Fabien Thomas <fabient@FreeBSD.org> writes:
> 
>> Author: fabient
>> Date: Fri Nov 25 14:44:49 2016
>> New Revision: 309144
>> URL: https://svnweb.freebsd.org/changeset/base/309144
>> 
>> Log:
>>  IPsec RFC6479 support for replay window sizes up to 2^32 - 32 packets.
>> 
>>  Since the previous algorithm, based on bit shifting, does not scale
>>  with large replay windows, the algorithm used here is based on
>>  RFC 6479: IPsec Anti-Replay Algorithm without Bit Shifting.
>>  The replay window will be fast to be updated, but will cost as many bits
>>  in RAM as its size.
>> 
>>  The previous implementation did not provide a lock on the replay window,
>>  which may lead to replay issues.
> 
> This broke the build here:
> 
> In file included from /usr/src/sys/netipsec/key_debug.c:54:
> In file included from /usr/src/sys/netipsec/ipsec.h:46:
> In file included from /usr/src/sys/netipsec/keydb.h:38:
> /usr/src/sys/sys/mutex.h:367:2: error: LOCK_DEBUG not defined, include <sys/lock.h> before <sys/mutex.h>
> #error LOCK_DEBUG not defined, include <sys/lock.h> before <sys/mutex.h>


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?528A24DF-BB88-45FA-926F-EE2DE9965C47>