From owner-svn-src-all@FreeBSD.ORG Tue Apr 29 08:35:43 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 34C15EEE; Tue, 29 Apr 2014 08:35:43 +0000 (UTC) Received: from mail-vc0-x235.google.com (mail-vc0-x235.google.com [IPv6:2607:f8b0:400c:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AE72436E; Tue, 29 Apr 2014 08:35:42 +0000 (UTC) Received: by mail-vc0-f181.google.com with SMTP id hy4so3535255vcb.40 for ; Tue, 29 Apr 2014 01:35:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=5TjoNJ68nv96uPWLmPXrq2bN/F27CU+N2EcgXZ5K3oo=; b=P8PeGe7kkdDxiZSrIpBmaO5afpu754l0xWrni/kClOzS2Bwltt0n/33DgFl83rpk6r Jpt6fnXD05kW0uZ44fWw0vK8FiMWNRnDaDzHcq4YfTIn+cNpcp/PRMBrbjpGOTpMvCt2 2NJF6hbz6RLWR61LYY5ES5RotJM8bdjtZKfMKwbuWcSpzXkeXojr1W0a/19ZMwMv/BvV XAZp33ZIvfUj7ORvzb9o/A0IRrGgHU6a++hTgTzGbnMxh1CXeNqASABRO4vSV5e0aUbQ 1QktraCm+XF9zsTcTWyHKBIeCsZV7qeam+eONxlSfrsnct8y21KHDPLFxCVA4oDibxyX 5uPw== X-Received: by 10.52.12.36 with SMTP id v4mr24884303vdb.20.1398760541426; Tue, 29 Apr 2014 01:35:41 -0700 (PDT) MIME-Version: 1.0 Sender: cochard@gmail.com Received: by 10.58.2.225 with HTTP; Tue, 29 Apr 2014 01:35:21 -0700 (PDT) In-Reply-To: <201312200017.rBK0HR3T077621@svn.freebsd.org> References: <201312200017.rBK0HR3T077621@svn.freebsd.org> From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= Date: Tue, 29 Apr 2014 10:35:21 +0200 X-Google-Sender-Auth: nJl9kHMS9kPXxnJ_O1ndnnhYN-Y Message-ID: Subject: Re: svn commit: r259638 - head/usr.bin/netstat To: "Alexander V. Chernikov" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: svn-src-head , svn-src-all , src-committers X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2014 08:35:43 -0000 On Fri, Dec 20, 2013 at 1:17 AM, Alexander V. Chernikov < melifaro@freebsd.org> wrote: > Author: melifaro > Date: Fri Dec 20 00:17:26 2013 > New Revision: 259638 > URL: http://svnweb.freebsd.org/changeset/base/259638 > > Log: > Use more fine-grained kvm(3) symbol lookup: routing code retrieves only > necessary symbols needed per subsystem. Main kvm(3) init is now delayed > as much as possbile. This finally fixes performance issues reported in > kern/167204. > Some non-working code (ng_socket.ko symbol addresses calculation) > removed. > Some global variables eliminated. > > PR: kern/167204 > MFC after: 4 weeks > > Hi Alexander, "netstat -gW" no more correctly detect inet4 MROUTING after this commit (that was MFC to stable). Behavior of my MROUTING enabled system before your commit: ----- [root@router]~# uname -a FreeBSD router.bsdrp.net 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r259635: Tue Apr 29 09:08:10 CEST 2014 root@orange.bsdrp.net:/usr/obj/TESTING.amd64/usr/local/BSDRP/TESTING/FreeBSD/src/sys/amd64 amd64 [root@router]~# sysctl kern.conftxt | grep MROUTING options MROUTING [root@router]~# netstat -gW IPv4 Virtual Interface Table is empty IPv4 Multicast Forwarding Table is empty IPv6 Multicast Interface Table is empty IPv6 Multicast Forwarding Table is empty ----- And the new behavior after your commit: ----- [root@router]~# uname -a FreeBSD router.bsdrp.net 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r259638: Mon Apr 28 20:58:06 CEST 2014 root@orange.bsdrp.net:/usr/obj/TESTING.amd64/usr/local/BSDRP/TESTING/FreeBSD/src/sys/amd64 amd64 [root@router]~# sysctl kern.conftxt | grep MROUTING options MROUTING [root@router]~# netstat -gW No IPv4 MROUTING kernel support. IPv6 Multicast Interface Table is empty IPv6 Multicast Forwarding Table is empty ----- Regards, Olivier