git: netstat - Fix netstat -m on core dumps

看板DFBSD_commit作者時間15年前 (2010/09/30 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 7a52e261d58c007ae4615e067eac8d99a902cd19 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Wed Sep 29 10:15:34 2010 -0700 netstat - Fix netstat -m on core dumps * Aggregate all ncpus worth of stats when operating on a core dump instead of just using cpu0. Otherwise the numbers will be wildly incorrect. Reported-by: Peter Avalos <peter@theshell.com> Summary of changes: usr.bin/netstat/main.c | 8 +++-- usr.bin/netstat/mbuf.c | 64 +++++++++++++++++++++++++++++--------------- usr.bin/netstat/netstat.h | 2 +- 3 files changed, 48 insertions(+), 26 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7a52e261d58c007ae4615e067eac8d99a902cd19 -- DragonFly BSD source repository
文章代碼(AID): #1CetximQ (DFBSD_commit)