Re: svn commit: r317208 - head/sys/netinet

2017-04-21 Thread Justin Hibbits
On Fri, Apr 21, 2017 at 9:39 AM, Ian Lepore wrote: > On Fri, 2017-04-21 at 21:53 +1000, Bruce Evans wrote: >> On Fri, 21 Apr 2017, Hans Petter Selasky wrote: >> >> > On 04/21/17 10:10, Bruce Evans wrote: >> >> ... >> >> [...] >> >> With another hat on, I lecture about the error of using unsigned t

Re: svn commit: r317208 - head/sys/netinet

2017-04-21 Thread Ian Lepore
On Fri, 2017-04-21 at 21:53 +1000, Bruce Evans wrote: > On Fri, 21 Apr 2017, Hans Petter Selasky wrote: > > > On 04/21/17 10:10, Bruce Evans wrote: > >> ... > >> [...] > > With another hat on, I lecture about the error of using unsigned types > except in emergency.  int32_t time_t rollover in 203

Re: svn commit: r317208 - head/sys/netinet

2017-04-21 Thread Bruce Evans
On Fri, 21 Apr 2017, Hans Petter Selasky wrote: On 04/21/17 10:10, Bruce Evans wrote: ... i386 should use time_t = uint32_t to fully support years 2038-2106 instead of time_t = int32_t to partially support years 1902-1970 (even time 0 (the Epoch) and other early hours in 1970 are not fully

Re: svn commit: r317208 - head/sys/netinet

2017-04-21 Thread Hans Petter Selasky
On 04/21/17 10:10, Bruce Evans wrote: On Fri, 21 Apr 2017, Michael Tuexen wrote: On 21. Apr 2017, at 05:16, Bruce Evans wrote: On Thu, 20 Apr 2017, Cy Schubert wrote: Please trim quotes. In message <201704201919.v3kjjyko052...@repo.freebsd.org>, Michael Tuexen write s: [>> ... 5 lines tr

Re: svn commit: r317208 - head/sys/netinet

2017-04-21 Thread Bruce Evans
On Fri, 21 Apr 2017, Michael Tuexen wrote: On 21. Apr 2017, at 05:16, Bruce Evans wrote: On Thu, 20 Apr 2017, Cy Schubert wrote: Please trim quotes. In message <201704201919.v3kjjyko052...@repo.freebsd.org>, Michael Tuexen write s: [>> ... 5 lines trimmed] Log: Syncoockies can be used

Re: svn commit: r317208 - head/sys/netinet

2017-04-20 Thread Michael Tuexen
> On 21. Apr 2017, at 05:16, Bruce Evans wrote: > > On Thu, 20 Apr 2017, Cy Schubert wrote: > > Please trim quotes. > >> In message <201704201919.v3kjjyko052...@repo.freebsd.org>, Michael Tuexen >> write >> s: > > [>> ... 5 lines trimmed] > >>> Log: >>> Syncoockies can be used in combinatio

Re: svn commit: r317208 - head/sys/netinet

2017-04-20 Thread Michael Tuexen
> On 21. Apr 2017, at 03:43, Cy Schubert wrote: > > In message <201704201919.v3kjjyko052...@repo.freebsd.org>, Michael Tuexen > writes: > [...] > Hi Michael, > > This line produced the following on i386: > > /opt/src/svn-current/sys/netinet/tcp_syncache.c:263:50: error: implicit > conversio

Re: svn commit: r317208 - head/sys/netinet

2017-04-20 Thread Bruce Evans
On Thu, 20 Apr 2017, Cy Schubert wrote: Please trim quotes. In message <201704201919.v3kjjyko052...@repo.freebsd.org>, Michael Tuexen write s: [>> ... 5 lines trimmed] Log: Syncoockies can be used in combination with the syncache. If the cache overflows, syncookies are used. [>> ... 1

Re: svn commit: r317208 - head/sys/netinet

2017-04-20 Thread Cy Schubert
In message <201704210143.v3l1h99s037...@slippy.cwsent.com>, Cy Schubert writes: > In message <201704201919.v3kjjyko052...@repo.freebsd.org>, Michael Tuexen > write > s: > > Author: tuexen > > Date: Thu Apr 20 19:19:33 2017 > > New Revision: 317208 > > URL: https://svnweb.freebsd.org/changeset/bas

Re: svn commit: r317208 - head/sys/netinet

2017-04-20 Thread Cy Schubert
In message <201704201919.v3kjjyko052...@repo.freebsd.org>, Michael Tuexen write s: > Author: tuexen > Date: Thu Apr 20 19:19:33 2017 > New Revision: 317208 > URL: https://svnweb.freebsd.org/changeset/base/317208 > > Log: > Syncoockies can be used in combination with the syncache. If the cache >

svn commit: r317208 - head/sys/netinet

2017-04-20 Thread Michael Tuexen
Author: tuexen Date: Thu Apr 20 19:19:33 2017 New Revision: 317208 URL: https://svnweb.freebsd.org/changeset/base/317208 Log: Syncoockies can be used in combination with the syncache. If the cache overflows, syncookies are used. This patch restricts the usage of syncookies in this case: acce