Date: Sat, 27 Dec 2003 15:37:14 +0300 (MSK) From: Gleb Smirnoff <glebius@cell.sick.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/60613: erroneous comment in sys/netinet/ip_dummynet.c Message-ID: <200312271237.hBRCbEwZ010820@cell.sick.ru> Resent-Message-ID: <200312271240.hBRCeIJs063993@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 60613
>Category: kern
>Synopsis: erroneous comment in sys/netinet/ip_dummynet.c
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Dec 27 04:40:17 PST 2003
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312271237.hBRCbEwZ010820>
