From glebius@cell.sick.ru  Sat Dec 27 04:37:19 2003
Return-Path: <glebius@cell.sick.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0290116A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 27 Dec 2003 04:37:19 -0800 (PST)
Received: from cell.sick.ru (cell.sick.ru [217.72.144.68])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6A7E443D39
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 27 Dec 2003 04:37:17 -0800 (PST)
	(envelope-from glebius@cell.sick.ru)
Received: from cell.sick.ru (glebius@localhost [127.0.0.1])
	by cell.sick.ru (8.12.9/8.12.8) with ESMTP id hBRCbEAB010821
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 27 Dec 2003 15:37:15 +0300 (MSK)
	(envelope-from glebius@cell.sick.ru)
Received: (from glebius@localhost)
	by cell.sick.ru (8.12.9/8.12.6/Submit) id hBRCbEwZ010820;
	Sat, 27 Dec 2003 15:37:14 +0300 (MSK)
Message-Id: <200312271237.hBRCbEwZ010820@cell.sick.ru>
Date: Sat, 27 Dec 2003 15:37:14 +0300 (MSK)
From: Gleb Smirnoff <glebius@cell.sick.ru>
Reply-To: Gleb Smirnoff <glebius@cell.sick.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: erroneous comment in sys/netinet/ip_dummynet.c
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         60613
>Category:       kern
>Synopsis:       erroneous comment in sys/netinet/ip_dummynet.c
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    maxim
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 27 04:40:17 PST 2003
>Closed-Date:    Tue Dec 30 04:28:32 PST 2003
>Last-Modified:  Tue Dec 30 04:28:32 PST 2003
>Originator:     Gleb Smirnoff
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
Bestcom ISP
>Environment:
System: FreeBSD cell.sick.ru 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0: Fri Sep 19 10:22:46 MSD 2003 root@fade.bestcom.ru:/usr/obj/usr/src/sys/NUCLEUS i386

>Description:
	It is said in comment in ip_dummynet.c:

/*
 * We keep a private variable for the simulation time, but we could
 * probably use an existing one ("softticks" in sys/kern/kern_timer.c)
 */   

	Really, there is no such file kern_timer.c, and softticks is declared
	in sys/kern/kern_timeout.c

>How-To-Repeat:
>Fix:
--- ip_dummynet.c.orig  Sat Dec 27 15:26:26 2003
+++ ip_dummynet.c       Sat Dec 27 15:32:07 2003
@@ -87,7 +87,7 @@
 
 /*
  * We keep a private variable for the simulation time, but we could
- * probably use an existing one ("softticks" in sys/kern/kern_timer.c)
+ * probably use an existing one ("softticks" in sys/kern/kern_timeout.c)
  */
 static dn_key curr_time = 0 ; /* current simulation time */
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: maxim 
State-Changed-When: Sat Dec 27 06:09:26 PST 2003 
State-Changed-Why:  
Fixed in -CURRENT, thanks. 


Responsible-Changed-From-To: freebsd-bugs->maxim 
Responsible-Changed-By: maxim 
Responsible-Changed-When: Sat Dec 27 06:09:26 PST 2003 
Responsible-Changed-Why:  
MFC reminder. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=60613 
State-Changed-From-To: patched->closed 
State-Changed-By: maxim 
State-Changed-When: Tue Dec 30 04:28:17 PST 2003 
State-Changed-Why:  
Fixed in -STABLE as well. 

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