Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 06/29/1997 01:40:02
thorpej
Sat Jun 28 18:32:30 PDT 1997
Update of /cvsroot/src/sys/netinet
In directory netbsd1:/var/slash-tmp/cvs-serv22069

Modified Files:
      Tag: SYN_cache_branch
	tcp_input.c 
Log Message:
In tcp_input():
- Garbage-collect TCPS_LISTEN state from TCP input processing now that
  all SYNs are handled with compressed state.  Since we should never see
  TCPS_LISTEN here, add a DIAGNOSTIC panic() if we encounter it.

In syn_cache_insert():
- Instrument hash collisions.

In syn_cache_get():
- Actually do all of the processing necessary to complete the connection
  (not as far as the foreign host is concerned, but rather internal state
  housekeeping).  This fixes the last of the "weird" problems I have
  encountered during normal use and under attack from multiple 10Mb/s
  syn floods.

Also, add a few comments to clarify a few bits of code.


thorpej
Sat Jun 28 18:34:30 PDT 1997
Update of /cvsroot/src/sys/netinet
In directory netbsd1:/var/slash-tmp/cvs-serv22187

Modified Files:
      Tag: SYN_cache_branch
	tcp_var.h 
Log Message:
Instrument syn cache hash collisions.