DragonFly BSD
DragonFly bugs List (threaded) for 2012-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[DragonFlyBSD - Bug #948] (Closed) netstat patch

From: John Marino via Redmine <bugtracker-admin@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 19 Nov 2012 05:41:25 -0800

Issue #948 has been updated by John Marino.

Status changed from New to Closed

Bug #948: netstat patch

Author: Jan Schaumann
Status: Closed
Priority: Normal
Assignee: Sepherosa Ziehau
Target version: 


There is a bug in netstat(1) that can cause it to spin out of control
and eat up all CPU.  This has been reported in FreeBSD and NetBSD and
I've also seen reports of the same problem in Mac OS X, so it stands to
reason this might affect DragonFlyBSD as well.

John Baldwin fixed this in FreeBSD:

"Make netstat -rn more resilient to having the routing table change out
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

The NetBSD error report is at


You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]