From nobody@FreeBSD.org  Wed Aug 22 20:41:36 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id CE99437B407
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 22 Aug 2001 20:41:34 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f7N3fYW24056;
	Wed, 22 Aug 2001 20:41:34 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200108230341.f7N3fYW24056@freefall.freebsd.org>
Date: Wed, 22 Aug 2001 20:41:34 -0700 (PDT)
From: Joseph Mallett <jmallett@xMach.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: tcp_input.c changes made in comments when patching RST DoS have typo.
X-Send-Pr-Version: www-1.0

>Number:         29970
>Category:       kern
>Synopsis:       tcp_input.c changes made in comments when patching RST DoS have typo.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 22 20:50:00 PDT 2001
>Closed-Date:    Thu Aug 23 15:34:28 PDT 2001
>Last-Modified:  Thu Aug 23 15:34:48 PDT 2001
>Originator:     Joseph Mallett
>Release:        RELENG_4
>Organization:
xMach
>Environment:
NA
>Description:
When lengthy explainations were being added to FreeBSD to patch the RST DoS bug, a typo was introduced.
>How-To-Repeat:
vi tcp_input.c
:/FIN_WAIT2

>Fix:
--- tcp_input.orig      Wed Aug 22 23:41:35 2001
+++ tcp_input.c Wed Aug 22 23:41:45 2001
@@ -1488,7 +1488,7 @@
         *    SYN_RECEIVED STATE:
         *      If passive open, return to LISTEN state.
         *      If active open, inform user that connection was refused.
-        *    ESTABLISHED, FIN_WAIT_1, FIN_WAIT2, CLOSE_WAIT STATES:
+        *    ESTABLISHED, FIN_WAIT_1, FIN_WAIT_2, CLOSE_WAIT STATES:
         *      Inform user that connection was reset, and close tcb.
         *    CLOSING, LAST_ACK STATES:
         *      Close the tcb.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dd 
State-Changed-When: Thu Aug 23 15:34:28 PDT 2001 
State-Changed-Why:  
Applied to -current, thanks! 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29970 
>Unformatted:
