CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2015/08/03 08:20:39
Modified files:
sys/kern : kern_sysctl.c
Log message:
Unfortunately netstat did not show sockets without file descriptors
since it had been converted from kvm to sysctl. This was hiding a
bunch of TCP states which are important for network debugging.
Loop over the internet PCB tables to fill the network information
into the KERN_FILE_BYFILE sysctl result. Skip internet sockets
when looping over the file desciptors.
>From markus@; OK guenther@; Go for it deraadt@