Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Apr 2014 10:35:21 +0200
From:      =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= <olivier@cochard.me>
To:        "Alexander V. Chernikov" <melifaro@freebsd.org>
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:  <CA%2Bq%2BTcrWLRCMMzBRAm6cXgPFWH3ySTP1LDmq5GRRGmU%2B==-W%2BA@mail.gmail.com>
In-Reply-To: <201312200017.rBK0HR3T077621@svn.freebsd.org>
References:  <201312200017.rBK0HR3T077621@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bq%2BTcrWLRCMMzBRAm6cXgPFWH3ySTP1LDmq5GRRGmU%2B==-W%2BA>