[IPV4]: Fix single-entry /proc/net/fib_trie output.
authorRobert Olsson <robert.olsson@its.uu.se>
Sat, 27 Jan 2007 03:06:01 +0000 (19:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Jan 2007 03:06:01 +0000 (19:06 -0800)
commit095b8501e4168ae5a879fcb9420ac48cbd43f95a
tree18246d3c3a835bf899eeab336d4efd6fd237ad6e
parent342a0cff0ad5fba6b591cfa37db3c65c4d9913f8
[IPV4]: Fix single-entry /proc/net/fib_trie output.

When main table is just a single leaf this gets printed as belonging to the
local table in /proc/net/fib_trie. A fix is below.

Signed-off-by: Robert Olsson <robert.olsson@its.uu.se>
Acked-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c