[IPV4]: Move trie_local and trie_main into the proc iterator.
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 7 Dec 2007 08:47:47 +0000 (00:47 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:56:49 +0000 (14:56 -0800)
commit877a9bff3889512d7326d6bf0ba6ed3ddda6d772
tree87193403343881696a7ea9ea5919644cb51dc8ea
parentbb803175865dd030420eebbc87298414c7725019
[IPV4]: Move trie_local and trie_main into the proc iterator.

We only use these variables when displaying the trie in proc so
place them into the iterator to make this explicit.  We should
probably do something smarter to handle the CONFIG_IP_MULTIPLE_TABLES
case but at least this makes it clear that the silliness is limited
to the display in /proc.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c