From owner-svn-src-stable-10@FreeBSD.ORG Fri Mar 21 20:07:34 2014 Return-Path: Delivered-To: svn-src-stable-10@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2A3B4D69 for ; Fri, 21 Mar 2014 20:07:34 +0000 (UTC) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com [209.85.215.43]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A0FCCC43 for ; Fri, 21 Mar 2014 20:07:33 +0000 (UTC) Received: by mail-la0-f43.google.com with SMTP id e16so2038157lan.16 for ; Fri, 21 Mar 2014 13:07:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=u07PXG7j5uYNhwJ1GRRkLle6AnxH4oGoYi8uHwdpVVY=; b=JiNQp37IAe9ANXb+u3gpTGbxQH8iPT3iO4f5iHJcn0tG5agefd7z59rndhYZjS14nw wFTKiecSZud2stwAE5Xf+WhWganzXaCEWZmSXqfdzwO/yvSTa8SHjfg9u9ODe2tB7ZX4 r6W/S6oh3w/S9OFTufFSjkEw6Gc8rHu/+4mAO02Sw3Ut1t7oJe56QtdNLz61EuQrQyx7 hNoH5Xt9PYQvjmiay2Av5Cog3dl0UziT/0UP4MgifhcALv9yVqyNNKWm/iEPmXaVeVCl AoAg+EdUPNCIVmOHkctJ+3gYZhFpqD+lBOVVCK9+w58gJ+oG6UK1oWFr1Wf2qwQowS5y TrTQ== X-Gm-Message-State: ALoCoQli5oerbBtuSzPD56VT6vJUXWoVttjQG0dVbucuXtEMkN/pNgDbw/CmpdxzS4rbvgLcUOq+ X-Received: by 10.152.209.70 with SMTP id mk6mr35555637lac.13.1395432451497; Fri, 21 Mar 2014 13:07:31 -0700 (PDT) Received: from [192.168.1.2] ([89.169.173.68]) by mx.google.com with ESMTPSA id a2sm3980092lbz.25.2014.03.21.13.07.30 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Mar 2014 13:07:30 -0700 (PDT) Message-ID: <532C9C02.5010409@freebsd.org> Date: Sat, 22 Mar 2014 00:07:30 +0400 From: Andrey Chernov User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Gleb Smirnoff , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: Re: svn commit: r263478 - in stable/10: share/man/man9 sys/contrib/ipfilter/netinet sys/net sys/netatalk sys/netinet sys/netinet6 sys/netipx sys/netpfil/pf sys/nfs usr.bin/netstat References: <201403211515.s2LFFVUb064861@svn.freebsd.org> In-Reply-To: <201403211515.s2LFFVUb064861@svn.freebsd.org> X-Enigmail-Version: 1.7a1pre Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-stable-10@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for only the 10-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Mar 2014 20:07:34 -0000 On 21.03.2014 19:15, Gleb Smirnoff wrote: > - Remove rt_metrics_lite and simply put its members into rtentry. > - Use counter(9) for rt_pksent (former rt_rmx.rmx_pksent). This > removes another cache trashing ++ from packet forwarding path. > - Create zini/fini methods for the rtentry UMA zone. Via initialize > mutex and counter in them. > - Fix reporting of rmx_pksent to routing socket. > - Fix netstat(1) to report "Use" both in kvm(3) and sysctl(3) mode. 'make world' on i386 recent stable-10: /usr/src/usr.bin/netstat/route.c:333:7: error: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Werror,-Wformat] kread_counter((u_long )rt->rt_pksent)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/usr.bin/netstat/route.c:871:7: error: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Werror,-Wformat] kread_counter((u_long )rt->rt_pksent)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. *** Error code 1 Stop. -- http://ache.vniz.net/