git: network - Fix netstat output missing entries

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Nov 1 22:12:18 PDT 2010


commit ba1cb0ca95a27198f513a5c8fa4bc821e2581597
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Nov 1 22:08:35 2010 -0700

    network - Fix netstat output missing entries
    
    * netstat was missing entries due to the kernel pcb listing sysctl
      code doing a bogus generation count test which did not take into
      account pcb's which move between cpus due to e.g. a bind() operation.
    
    Reported-by: Thomas Nikolajsen <thomas.nikolajsen at mail.dk>

Summary of changes:
 sys/netinet/in_pcb.c   |    4 ----
 sys/netinet/tcp_subr.c |    4 ----
 2 files changed, 0 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ba1cb0ca95a27198f513a5c8fa4bc821e2581597


-- 
DragonFly BSD source repository





More information about the Commits mailing list