From petervd@vuurwerk.nl  Wed Aug 30 08:45:41 2000
Return-Path: <petervd@vuurwerk.nl>
Received: from envy.vuurwerk.nl (envy.vuurwerk.nl [194.178.232.112])
	by hub.freebsd.org (Postfix) with SMTP id 1DED637B423
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 30 Aug 2000 08:45:37 -0700 (PDT)
Received: (qmail 26525 invoked from network); 30 Aug 2000 15:45:35 -0000
Received: from kesteren.vuurwerk.nl (HELO daemon.vuurwerk.nl) (194.178.232.59)
  by envy.vuurwerk.nl with SMTP; 30 Aug 2000 15:45:35 -0000
Received: (nullmailer pid 36020 invoked by uid 11109);
	Wed, 30 Aug 2000 15:45:35 -0000
Message-Id: <967650335.543963.36019.nullmailer@vuurwerk.nl>
Date: Wed, 30 Aug 2000 17:45:35 +0200
From: petervd@vuurwerk.nl
Reply-To: petervd@vuurwerk.nl
To: FreeBSD-gnats-submit@freebsd.org
Subject: crashes on incoming TCP connects
X-Send-Pr-Version: 3.2

>Number:         20945
>Category:       kern
>Synopsis:       today's -STABLE kernel crashes after incoming 3way handshake
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    green
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 30 08:50:01 PDT 2000
>Closed-Date:    Thu Aug 31 04:35:09 PDT 2000
>Last-Modified:  Thu Aug 31 04:35:47 PDT 2000
>Originator:     Peter van Dijk
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
Vuurwerk Internet
>Environment:

Today's world+kernel (RELENG_4) on an SGI 1200 with 2 PIII-550s and 1GB
of RAM. Crashes occur equally with or without SMP in the kernel.

>Description:

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.

>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.

>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.


>Release-Note:
>Audit-Trail:

From: Kent Stewart <kstewart@urx.com>
To: freebsd-gnats-submit@FreeBSD.org, petervd@vuurwerk.nl
Cc:  
Subject: Re: kern/20945: today's -STABLE kernel crashes after incoming 3way 
 handshake
Date: Wed, 30 Aug 2000 16:38:45 -0700

 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
 
Responsible-Changed-From-To: freebsd-bugs->green 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Thu Aug 31 00:53:01 PDT 2000 
Responsible-Changed-Why:  
Brian, this looks like your chgsbsize() API change. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20945 
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Thu Aug 31 04:35:09 PDT 2000 
State-Changed-Why:  
Brian committed a fix for this in rev 1.55.2.6 of sys/kern/uipc_socket2.c . 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20945 
>Unformatted:
