Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD master CVS tree commits



thorpej
Fri Jun 27 19:44:30 PDT 1997
Update of /cvsroot/src/sys/netinet
In directory netbsd1:/var/slash-tmp/cvs-serv26994

Modified Files:
      Tag: SYN_cache_branch
        tcp_input.c 
Log Message:
In tcp_input(), always create compressed state when we receive a SYN,
rather than attempting to create a TCB, and using compressed state if
that fails.  This makes the logic much simpler, removes some code
duplication, and kills the "temporary socket" hack that has historically
existed in SYN handling.

This change eliminates the need for SS_FORCE, since we only create
TCBs on legitimate connections.  Previously, SS_FORCE was needed to
bypass the socket queue limit because legitimate connections might
have bee blocked out by bogus SYNs that weren't in compressed state.

Update TODO list appropriately.  (This was a BIG one.)




Home | Main Index | Thread Index | Old Index