]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Merge a bunch of changes to TCP compressed TIME_WAIT state handling
authorglebius <glebius@FreeBSD.org>
Fri, 15 Sep 2006 09:51:05 +0000 (09:51 +0000)
committerglebius <glebius@FreeBSD.org>
Fri, 15 Sep 2006 09:51:05 +0000 (09:51 +0000)
commit6b1949d246dc6d27734ca91f1df1884be3c723a0
tree729feee8c675bae7fa9f7dd140f5ab1ffd1a8a1e
parent789c7cff5ce61197f721e258e39f9c9012b0a8ef
Merge a bunch of changes to TCP compressed TIME_WAIT state handling
that was done by myself and ru@ 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)
sys/netinet/in_pcb.c
sys/netinet/tcp_input.c
sys/netinet/tcp_subr.c
sys/netinet/tcp_timer.c
sys/netinet/tcp_timer.h
sys/netinet/tcp_var.h