diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 87e979f2b74a5fd3b4f3b70250ffd6de4ef6212f..e356ea77922729f45711006926e519c45e552516 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -271,6 +271,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; }