cvs commit: src/sys/netinet6 raw_ip6.c

Andre Oppermann andre at freebsd.org
Thu Nov 20 13:49:32 PST 2003


Andre Oppermann wrote:
> 
> andre       2003/11/20 13:47:20 PST
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/netinet6         raw_ip6.c
>   Log:
>   Introduce tcp_hostcache and remove the tcp specific metrics from
>   the routing table.  Move all usage and references in the tcp stack
>   from the routing table metrics to the tcp hostcache.
> 
>   It caches measured parameters of past tcp sessions to provide better
>   initial start values for following connections from or to the same
>   source or destination.  Depending on the network parameters to/from
>   the remote host this can lead to significant speedups for new tcp
>   connections after the first one because they inherit and shortcut
>   the learning curve.
> 
>   tcp_hostcache is designed for multiple concurrent access in SMP
>   environments with high contention and is hash indexed by remote
>   ip address.
> 
>   It removes significant locking requirements from the tcp stack with
>   regard to the routing table.
> 
>   Reviewed by:    sam (mentor), bms
>   Reviewed by:    -net, -current, core at kame.net (IPv6 parts)
>   Approved by:    re (scottl)
> 
>   Revision  Changes    Path
>   1.35      +3 -6      src/sys/netinet6/raw_ip6.c

This fixes IPv6 build of kernel.  I forgot to add this file to the
previous commit.  I'm sorry for any inconvinence this may have caused.
Pointy hat to me.

-- 
Andre


More information about the cvs-src mailing list