diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h index 5735a0f..ac6f91b 100644 --- a/include/net/ip6_fib.h +++ b/include/net/ip6_fib.h @@ -139,11 +139,8 @@ struct fib6_walker_t { }; struct rt6_statistics { - __u32 fib_nodes; __u32 fib_route_nodes; - __u32 fib_rt_alloc; /* permanent routes */ __u32 fib_rt_entries; /* rt entries in table */ - __u32 fib_rt_cache; /* cache routes */ __u32 fib_discarded_routes; }; diff --git a/net/ipv6/route.c b/net/ipv6/route.c index fb545ed..7f7a80c 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -2672,12 +2672,9 @@ static const struct file_operations ipv6_route_proc_fops = { static int rt6_stats_seq_show(struct seq_file *seq, void *v) { struct net *net = (struct net *)seq->private; - seq_printf(seq, "%04x %04x %04x %04x %04x %04x %04x\n", - net->ipv6.rt6_stats->fib_nodes, + seq_printf(seq, "%04x %04x %04x %04x\n", net->ipv6.rt6_stats->fib_route_nodes, - net->ipv6.rt6_stats->fib_rt_alloc, net->ipv6.rt6_stats->fib_rt_entries, - net->ipv6.rt6_stats->fib_rt_cache, dst_entries_get_slow(&net->ipv6.ip6_dst_ops), net->ipv6.rt6_stats->fib_discarded_routes);