svn commit: r259638 - head/usr.bin/netstat

Olivier Cochard-Labbé olivier at cochard.me
Tue Apr 29 08:35:43 UTC 2014


On Fri, Dec 20, 2013 at 1:17 AM, Alexander V. Chernikov <
melifaro at 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 at 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 at orange.bsdrp.net:/usr/obj/TESTING.amd64/usr/local/BSDRP/TESTING/FreeBSD/src/sys/amd64
amd64
[root at router]~# sysctl kern.conftxt | grep MROUTING
options MROUTING
[root at 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 at 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 at orange.bsdrp.net:/usr/obj/TESTING.amd64/usr/local/BSDRP/TESTING/FreeBSD/src/sys/amd64
amd64
[root at router]~# sysctl kern.conftxt | grep MROUTING
options MROUTING
[root at router]~# netstat -gW
No IPv4 MROUTING kernel support.

IPv6 Multicast Interface Table is empty

IPv6 Multicast Forwarding Table is empty
-----

Regards,

Olivier


More information about the svn-src-head mailing list