netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric Dumazet <dada1@cosmosbay.com>
To: acme@conectiva.com.br, "David S. Miller" <davem@redhat.com>,
	netdev@oss.sgi.com
Subject: [PATCH] /proc/net/stat/rt_cache has a wrong header
Date: Fri, 18 Mar 2005 13:05:44 +0100	[thread overview]
Message-ID: <423AC418.6080903@cosmosbay.com> (raw)
In-Reply-To: <4238C388.5040303@cosmosbay.com>

[-- Attachment #1: Type: text/plain, Size: 122 bytes --]

Hello

The header of /proc/net/stat/rt_cache misses the 'in_slow_mc' field.
This patch adds it.

Thank you

Eric Dumazet


[-- Attachment #2: diff --]
[-- Type: text/plain, Size: 697 bytes --]

--- 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;
 	}
 	

  parent reply	other threads:[~2005-03-18 12:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-16 23:38 [PATCH,resent] reduce sizeof(struct inet_peer) from 128 to 64 bytes on 64bits architectures Eric Dumazet
2005-03-17  4:54 ` David S. Miller
2005-03-18 12:05 ` Eric Dumazet [this message]
2005-03-18 16:50   ` [PATCH] /proc/net/stat/rt_cache has a wrong header Stephen Hemminger
2005-03-18 17:14     ` Eric Dumazet
2005-03-18 17:26       ` Eric Dumazet

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=423AC418.6080903@cosmosbay.com \
    --to=dada1@cosmosbay.com \
    --cc=acme@conectiva.com.br \
    --cc=davem@redhat.com \
    --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).