diff options
author | Alexander Duyck <alexander.h.duyck@redhat.com> | 2015-03-12 02:36:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-12 04:24:32 +0300 |
commit | 654eff45166c7e89d18fc476325c975768b2e347 (patch) | |
tree | b5f355d84c286551bedf0551fd58e355f9180de9 /include/linux/pm.h | |
parent | 388a83576aa1816184a1706753ffa308cce53c8d (diff) | |
download | linux-654eff45166c7e89d18fc476325c975768b2e347.tar.xz |
fib_trie: Only display main table in /proc/net/route
When we merged the tries for local and main I had overlooked the iterator
for /proc/net/route. As a result it was outputting both local and main
when the two tries were merged.
This patch resolves that by only providing output for aliases that are
actually in the main trie. As a result we should go back to the original
behavior which I assume will be necessary to maintain legacy support.
Fixes: 0ddcf43d5 ("ipv4: FIB Local/MAIN table collapse")
Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/pm.h')
0 files changed, 0 insertions, 0 deletions