Bug 20945

Summary: today's -STABLE kernel crashes after incoming 3way handshake
Product: Base System Reporter: petervd <petervd>
Component: kernAssignee: Brian Feldman <green>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-STABLE   
Hardware: Any   
OS: Any   

Description petervd 2000-08-30 16:50:01 UTC
I can do any kind of traffic without problems *except* accepting incoming
connections. Telnetting to port 22 or 23 of the box from another box
crashes the box. Console-switching still works, the box still pings,
new TCP connections are accepted but userland seems completely dead.

A august 25th kernel works, so the bug must've been introduced somewhere
over the last 5 days.

Fix: 

I compiled a kernel on a box that was cvsupped around Aug 25th and
installed that kernel. No more problems. A 4.1-RELEASE GENERIC worked
flawlessly too.
How-To-Repeat: 
cvsup to a /usr/src from today afternoon (GMT) and build a kernel. GENERIC
will do. Telnet to port 22 or 23.
Comment 1 kstewart 2000-08-31 00:38:45 UTC
The cvsup log of the changes to my system at 2200 GMT that produced
this lockup can be found at 
http://dsl1-160.dynacom.net/cvsup.log 

Before these changes I could telnet in and afterwards an immediate
lockup occured.

Kent
Comment 2 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-31 08:53:01 UTC
Responsible Changed
From-To: freebsd-bugs->green

Brian, this looks like your chgsbsize() API change.
Comment 3 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-31 12:35:09 UTC
State Changed
From-To: open->closed

Brian committed a fix for this in rev 1.55.2.6 of sys/kern/uipc_socket2.c .