From owner-svn-src-head@freebsd.org Thu Aug 27 07:53:59 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3EDCC9C4F7B; Thu, 27 Aug 2015 07:53:59 +0000 (UTC) (envelope-from melifaro@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (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 2F17739D; Thu, 27 Aug 2015 07:53:59 +0000 (UTC) (envelope-from melifaro@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t7R7rxeS021734; Thu, 27 Aug 2015 07:53:59 GMT (envelope-from melifaro@FreeBSD.org) Received: (from melifaro@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t7R7rxjn021733; Thu, 27 Aug 2015 07:53:59 GMT (envelope-from melifaro@FreeBSD.org) Message-Id: <201508270753.t7R7rxjn021733@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: melifaro set sender to melifaro@FreeBSD.org using -f From: "Alexander V. Chernikov" Date: Thu, 27 Aug 2015 07:53:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r287195 - head/sys/netpfil/ipfw X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 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: Thu, 27 Aug 2015 07:53:59 -0000 Author: melifaro Date: Thu Aug 27 07:53:58 2015 New Revision: 287195 URL: https://svnweb.freebsd.org/changeset/base/287195 Log: Fix packets/bytes accounting on i386. Spotted by: julian Modified: head/sys/netpfil/ipfw/ip_fw_private.h Modified: head/sys/netpfil/ipfw/ip_fw_private.h ============================================================================== --- head/sys/netpfil/ipfw/ip_fw_private.h Thu Aug 27 07:43:29 2015 (r287194) +++ head/sys/netpfil/ipfw/ip_fw_private.h Thu Aug 27 07:53:58 2015 (r287195) @@ -256,7 +256,7 @@ struct ip_fw { ipfw_insn cmd[1]; /* storage for commands */ }; -#define IPFW_RULE_CNTR_SIZE (2 * sizeof(counter_u64_t)) +#define IPFW_RULE_CNTR_SIZE (2 * sizeof(uint64_t)) #endif