cvs commit: src/sys/netinet in_pcb.c tcp_input.c tcp_subr.c tcp_timer.c tcp_timer.h tcp_var.h

From: Gleb Smirnoff <>
Date: Fri, 15 Sep 2006 09:51:06 +0000 (UTC)
glebius     2006-09-15 09:51:06 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/netinet          in_pcb.c tcp_input.c tcp_subr.c 
                         tcp_timer.c tcp_timer.h tcp_var.h 
  Merge a bunch of changes to TCP compressed TIME_WAIT state handling
  that was done by myself and ru_at_ in HEAD:
  o Remove a code from in in_pcblookup_local() that can lead to
    million times looping in this function.
  o Rewrite the storage of tcptw entries to simple TAILQ. The
    more complex double LIST is not needed anymore since T/TCP
    is removed.
  o Add possibility to change net.inet.tcp.maxtcptw via sysctl
    and load time tunable. Do not modify maxtcptw if it was set
    explicitly, if maxsockets is modified.
  o Add sysctl that allows to suppress creating time wait states
    for sockets, where both endpoints are local.
  Approved by:    re (kensmith)
  Revision    Changes    Path   +0 -13     src/sys/netinet/in_pcb.c  +2 -2      src/sys/netinet/tcp_input.c  +49 -13    src/sys/netinet/tcp_subr.c    +20 -41    src/sys/netinet/tcp_timer.c    +1 -1      src/sys/netinet/tcp_timer.h   +1 -1      src/sys/netinet/tcp_var.h
Received on Fri Sep 15 2006 - 09:51:18 UTC