From owner-svn-src-all@FreeBSD.ORG Tue Apr 29 16:52:29 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 EC383E0C; Tue, 29 Apr 2014 16:52:29 +0000 (UTC) Received: from mail.ipfw.ru (mail.ipfw.ru [IPv6:2a01:4f8:120:6141::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7FCF31CBC; Tue, 29 Apr 2014 16:52:29 +0000 (UTC) Received: from [2a02:6b8:0:401:222:4dff:fe50:cd2f] (helo=ptichko.yndx.net) by mail.ipfw.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76 (FreeBSD)) (envelope-from ) id 1Wf7N6-0000pM-Ep; Tue, 29 Apr 2014 16:42:52 +0400 Message-ID: <535FD8AC.5020606@FreeBSD.org> Date: Tue, 29 Apr 2014 20:51:56 +0400 From: "Alexander V. Chernikov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: =?UTF-8?B?T2xpdmllciBDb2NoYXJkLUxhYmLDqQ==?= Subject: Re: svn commit: r259638 - head/usr.bin/netstat References: <201312200017.rBK0HR3T077621@svn.freebsd.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 16:52:30 -0000 On 29.04.2014 12:35, Olivier Cochard-Labbé wrote: > On Fri, Dec 20, 2013 at 1:17 AM, Alexander V. Chernikov > > 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: Whoops. Fixed in r265096, thank you! > > ----- > [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 >