From: Olaf Rempel <razzor@kopf-tisch.de>
To: netdev@oss.sgi.com
Subject: [2.6.11 PATCH] /proc/net/stat/* cleanup
Date: Fri, 4 Mar 2005 20:37:51 +0100 [thread overview]
Message-ID: <20050304203751.379dc6a6@coruscant> (raw)
hi list
in /proc/net/stat/[arp|ndisc]_cache the value "forced_gc_goal_miss" has no
associated member in struct neigh_statistics.
in /proc/net/stat/rt_cache the value "in_slow_mc" was printed, but without header
(16 header-names, 17 values)
patch is against vanilla 2.6.11
Olaf
diff -uN linux-2.6.11/net/core/neighbour.c.org linux-2.6.11/net/core/neighbour.c
--- linux-2.6.11/net/core/neighbour.c.org 2005-03-04 20:03:01.000000000 +0100
+++ linux-2.6.11/net/core/neighbour.c 2005-03-04 20:04:17.000000000 +0100
@@ -1948,7 +1948,7 @@
struct neigh_statistics *st = v;
if (v == SEQ_START_TOKEN) {
- seq_printf(seq, "entries allocs destroys hash_grows lookups hits res_failed rcv_probes_mcast rcv_probes_ucast periodic_gc_runs forced_gc_runs forced_gc_goal_miss\n");
+ seq_printf(seq, "entries allocs destroys hash_grows lookups hits res_failed rcv_probes_mcast rcv_probes_ucast periodic_gc_runs forced_gc_runs\n");
return 0;
}
diff -uN linux-2.6.11/net/ipv4/route.c.org linux-2.6.11/net/ipv4/route.c
--- linux-2.6.11/net/ipv4/route.c.org 2005-03-04 19:45:54.000000000 +0100
+++ linux-2.6.11/net/ipv4/route.c 2005-03-04 19:47:58.000000000 +0100
@@ -393,7 +393,7 @@
struct rt_cache_stat *st = v;
if (v == SEQ_START_TOKEN) {
- seq_printf(seq, "entries in_hit in_slow_tot in_no_route in_brd in_martian_dst in_martian_src out_hit out_slow_tot out_slow_mc gc_total gc_ignored gc_goal_miss gc_dst_overflow in_hlist_search out_hlist_search\n");
+ seq_printf(seq, "entries in_hit in_slow_tot in_slow_mc in_no_route in_brd in_martian_dst in_martian_src out_hit out_slow_tot out_slow_mc gc_total gc_ignored gc_goal_miss gc_dst_overflow in_hlist_search out_hlist_search\n");
return 0;
}
next reply other threads:[~2005-03-04 19:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-04 19:37 Olaf Rempel [this message]
[not found] ` <20050424193007.0a687ef4.davem@davemloft.net>
2005-04-25 17:00 ` [2.6.11 PATCH] /proc/net/stat/* cleanup Olaf Rempel
2005-04-28 19:16 ` David S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050304203751.379dc6a6@coruscant \
--to=razzor@kopf-tisch.de \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).