Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Apr 2014 20:51:56 +0400
From:      "Alexander V. Chernikov" <melifaro@FreeBSD.org>
To:        =?UTF-8?B?T2xpdmllciBDb2NoYXJkLUxhYmLDqQ==?= <olivier@cochard.me>
Cc:        svn-src-head <svn-src-head@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, src-committers <src-committers@freebsd.org>
Subject:   Re: svn commit: r259638 - head/usr.bin/netstat
Message-ID:  <535FD8AC.5020606@FreeBSD.org>
In-Reply-To: <CA%2Bq%2BTcrWLRCMMzBRAm6cXgPFWH3ySTP1LDmq5GRRGmU%2B==-W%2BA@mail.gmail.com>
References:  <201312200017.rBK0HR3T077621@svn.freebsd.org> <CA%2Bq%2BTcrWLRCMMzBRAm6cXgPFWH3ySTP1LDmq5GRRGmU%2B==-W%2BA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 29.04.2014 12:35, Olivier Cochard-Labbé wrote:
> On Fri, Dec 20, 2013 at 1:17 AM, Alexander V. Chernikov 
> <melifaro@freebsd.org <mailto: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:
Whoops. Fixed in r265096, thank you!
>
> -----
> [root@router]~# uname -a
> FreeBSD router.bsdrp.net <http://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 <http://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
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?535FD8AC.5020606>