[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080112.214417.154179770.davem@davemloft.net>
Date: Sat, 12 Jan 2008 21:44:17 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: shemminger@...ux-foundation.org
Cc: robert.olsson@....uu.se, netdev@...r.kernel.org,
stephen.hemminger@...tta.com
Subject: Re: [PATCH 4/9] statistics improvements
From: Stephen Hemminger <shemminger@...ux-foundation.org>
Date: Sat, 12 Jan 2008 21:33:16 -0800
> The size field is added to /proc/net/fib_triestat that was the point.
Not from what I can see.
davem@...set:~/src/GIT/net-2.6.25$ git grep -e "->size" net/ipv4/fib_trie.c
net/ipv4/fib_trie.c: t->size++;
net/ipv4/fib_trie.c: t->size--;
davem@...set:~/src/GIT/net-2.6.25$ git grep -e "\.size" net/ipv4/fib_trie.c
davem@...set:~/src/GIT/net-2.6.25$
Nothing uses the field, it is merely incremented and decremented.
trie_show_stats() and trie_show_usage() do not access this field.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists