kern/60613: erroneous comment in sys/netinet/ip_dummynet.c
Gleb Smirnoff
glebius at cell.sick.ru
Sat Dec 27 04:40:20 PST 2003
>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 at 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:
More information about the freebsd-bugs
mailing list