diff options
Diffstat (limited to 'net/ipv6/route.c')
-rw-r--r-- | net/ipv6/route.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 370f2aef6909..3afc3f41f2d5 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c | |||
@@ -2354,11 +2354,13 @@ static const struct file_operations ipv6_route_proc_fops = { | |||
2354 | static int rt6_stats_seq_show(struct seq_file *seq, void *v) | 2354 | static int rt6_stats_seq_show(struct seq_file *seq, void *v) |
2355 | { | 2355 | { |
2356 | seq_printf(seq, "%04x %04x %04x %04x %04x %04x %04x\n", | 2356 | seq_printf(seq, "%04x %04x %04x %04x %04x %04x %04x\n", |
2357 | rt6_stats->fib_nodes, rt6_stats->fib_route_nodes, | 2357 | init_net.ipv6.rt6_stats->fib_nodes, |
2358 | rt6_stats->fib_rt_alloc, rt6_stats->fib_rt_entries, | 2358 | init_net.ipv6.rt6_stats->fib_route_nodes, |
2359 | rt6_stats->fib_rt_cache, | 2359 | init_net.ipv6.rt6_stats->fib_rt_alloc, |
2360 | atomic_read(&ip6_dst_ops.entries), | 2360 | init_net.ipv6.rt6_stats->fib_rt_entries, |
2361 | rt6_stats->fib_discarded_routes); | 2361 | init_net.ipv6.rt6_stats->fib_rt_cache, |
2362 | atomic_read(&ip6_dst_ops.entries), | ||
2363 | init_net.ipv6.rt6_stats->fib_discarded_routes); | ||
2362 | 2364 | ||
2363 | return 0; | 2365 | return 0; |
2364 | } | 2366 | } |