| To: | acme@xxxxxxxxxxxxxxxx, "David S. Miller" <davem@xxxxxxxxxx>, netdev@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH] /proc/net/stat/rt_cache has a wrong header |
| From: | Eric Dumazet <dada1@xxxxxxxxxxxxx> |
| Date: | Fri, 18 Mar 2005 13:05:44 +0100 |
| In-reply-to: | <4238C388.5040303@cosmosbay.com> |
| References: | <4238C388.5040303@cosmosbay.com> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla Thunderbird 1.0 (Windows/20041206) |
Hello The header of /proc/net/stat/rt_cache misses the 'in_slow_mc' field. This patch adds it. Thank you Eric Dumazet --- linux-2.6.11/net/ipv4/route.c 2005-03-17 11:19:45.000000000 +0100
+++ linux-2.6.11-ed2/net/ipv4/route.c 2005-03-18 13:01:11.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;
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [27/*] [NET] Make dst_allfrag use dst instead of dst->path, Herbert Xu |
|---|---|
| Next by Date: | Re: [RFC] TCP congestion schedulers, Arnaldo Carvalho de Melo |
| Previous by Thread: | Re: [PATCH,resent] reduce sizeof(struct inet_peer) from 128 to 64 bytes on 64bits architectures, David S. Miller |
| Next by Thread: | Re: [PATCH] /proc/net/stat/rt_cache has a wrong header, Stephen Hemminger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |