From owner-svn-src-head@FreeBSD.ORG Sun Feb 22 12:07:01 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 862C775B; Sun, 22 Feb 2015 12:07:01 +0000 (UTC) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3FED9883; Sun, 22 Feb 2015 12:07:01 +0000 (UTC) Received: from slw by zxy.spb.ru with local (Exim 4.84 (FreeBSD)) (envelope-from ) id 1YPVJL-0007fz-7Z; Sun, 22 Feb 2015 15:06:59 +0300 Date: Sun, 22 Feb 2015 15:06:59 +0300 From: Slawa Olhovchenkov To: Ryan Stone Subject: Re: svn commit: r272284 - head/usr.bin/systat Message-ID: <20150222120659.GA28811@zxy.spb.ru> References: <201409291738.s8THcpxo038996@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201409291738.s8THcpxo038996@svn.freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2015 12:07:01 -0000 On Mon, Sep 29, 2014 at 05:38:51PM +0000, Ryan Stone wrote: > Author: rstone > Date: Mon Sep 29 17:38:50 2014 > New Revision: 272284 > URL: http://svnweb.freebsd.org/changeset/base/272284 > > Log: > Fix integer truncation in affecting systat -ifstat > > The "systat -ifstat" command was using a u_int to store byte counters. > With a 10Gbps or faster interface, this overflows within the default > 5 second refresh period. Switch to using a uint64_t across the board, > which matches the size used for all counters as of r263102. > > PR: 182448 > MFC after: 1 week > Sponsored by: Sandvine Inc No NFC yet.