HEADSUP: ABI change for some network utilities

From: John Baldwin <jhb_at_freebsd.org>
Date: Wed, 10 Jun 2009 14:43:51 -0400
On Wednesday 10 June 2009 2:27:15 pm John Baldwin wrote:
> Author: jhb
> Date: Wed Jun 10 18:27:15 2009
> New Revision: 193941
> URL: http://svn.freebsd.org/changeset/base/193941
> 
> Log:
>   Change a few members of tcpcb that store cached copies of ticks to be ints
>   instead of unsigned longs.  This fixes a few overflow edge cases on 64-bit
>   platforms.  Specifically, if an idle connection receives a packet shortly
>   before 2^31 clock ticks of uptime (about 25 days with hz=1000) and the keep
>   alive timer fires after 2^31 clock ticks, the keep alive timer will think
>   that the connection has been idle for a very long time and will immediately
>   drop the connection instead of sending a keep alive probe.

Note that this changes the layout of 'struct tcpcb' which is used by at least
netstat, so you will need to update world + kernel.

-- 
John Baldwin
Received on Wed Jun 10 2009 - 16:43:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:49 UTC