Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Feb 2008 20:01:52 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/netstat route.c
Message-ID:  <200802142001.m1EK1qJH019174@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2008-02-14 20:01:52 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/netstat      route.c 
  Log:
  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
    radix_nodes.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.88      +43 -19    src/usr.bin/netstat/route.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802142001.m1EK1qJH019174>