cvs commit: src/usr.bin/netstat route.c

John Baldwin jhb at
Thu Feb 14 12:01:53 PST 2008

jhb         2008-02-14 20:01:52 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/netstat      route.c 
  Make netstat -rn more resilient to having the routing table change out from
  under it while running.  Note that this is still not perfect:
  - Try to do something intelligent if kvm_read() fails to read a routing
    table structure such as an rtentry, radix_node, or ifnet.
  - Don't follow left and right node pointers in radix_nodes unless
    RNF_ACTIVE is set in rn_flags.  This avoids walking through freed
  MFC after:      1 week
  Revision  Changes    Path
  1.88      +43 -19    src/usr.bin/netstat/route.c

More information about the cvs-src mailing list