svn commit: r322315 - stable/10/sys/netinet

Andrey Chernov ache at freebsd.org
Thu Aug 10 05:22:10 UTC 2017


On 09.08.2017 16:26, Michael Tuexen wrote:
> Author: tuexen
> Date: Wed Aug  9 13:26:12 2017
> New Revision: 322315
> URL: https://svnweb.freebsd.org/changeset/base/322315
> 
> Log:
>   MFC r317208:
>   
>   Syncoockies can be used in combination with the syncache. If the cache
>   overflows, syncookies are used.

It cause error for i386 stable-10

 -ffreestanding -fstack-protector -gdwarf-2 -Werror
../../../netinet/tcp_syncache.c
../../../netinet/tcp_syncache.c:280:50: error: implicit conversion from
      'long long' to 'time_t' (aka 'int') changes value from
      -9223372036854775808 to 0 [-Werror,-Wconstant-conversion]
                V_tcp_syncache.hashbase[i].sch_last_overflow = INT64_MIN;
                                                             ~ ^~~~~~~~~
./x86/_stdint.h:89:41: note: expanded from macro 'INT64_MIN'
#define INT64_MIN       (-0x7fffffffffffffffLL-1)
                         ~~~~~~~~~~~~~~~~~~~~~^~
1 error generated.
*** Error code 1


More information about the svn-src-all mailing list