Subject: bin/2817: netstat -s stats overflow to negative values
To: None <>
From: Michael Graff <>
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
>Originator:     Michael Graff
>Organization: Cygnus Support
>Release:        07-Oct-96 <NetBSD-current source date>
System: NetBSD 1.2A NetBSD 1.2A (LENIN) #1: Thu Oct 3 20:10:08 EDT 1996 i386

Some of the counters in netstat -s overflow to negative values:

        76049047 packets received
                44486066 acks (for -1744700544 bytes)
Find a busy server, run netstat -s
Make these counters unsigned should help a lot.  However, if they overflow
already perhaps making them larger is what is needed...