Subject: bin/2817: netstat -s stats overflow to negative values
To: None <gnats-bugs@gnats.netbsd.org>
From: Michael Graff <explorer@cygnus.com>
List: netbsd-bugs
Date: 10/07/1996 14:00:39
>Number: 2817
>Category: bin
>Synopsis: netstat -s stats overflow to negative values
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Oct 7 11:05:09 1996
>Last-Modified:
>Originator: Michael Graff
>Organization:
cygnus.com: Cygnus Support
>Release: 07-Oct-96 <NetBSD-current source date>
>Environment:
System: NetBSD lenin.cygnus.com 1.2A NetBSD 1.2A (LENIN) #1: Thu Oct 3 20:10:08 EDT 1996 explorer@lenin.cygnus.com:/usr/src/sys/arch/i386/compile/LENIN i386
>Description:
Some of the counters in netstat -s overflow to negative values:
76049047 packets received
44486066 acks (for -1744700544 bytes)
>How-To-Repeat:
Find a busy server, run netstat -s
>Fix:
Make these counters unsigned should help a lot. However, if they overflow
already perhaps making them larger is what is needed...
>Audit-Trail:
>Unformatted: