diff --git a/net/ipv4/route.c b/net/ipv4/route.c index ed835ca068798..6fcb12e083d99 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -276,6 +276,7 @@ static void *rt_cpu_seq_next(struct seq_file *seq, void *v, loff_t *pos) *pos = cpu+1; return &per_cpu(rt_cache_stat, cpu); } + (*pos)++; return NULL; }