aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/core/neighbour.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/neighbour.c b/net/core/neighbour.c
index f62c8af85d38..a57de755c8cc 100644
--- a/net/core/neighbour.c
+++ b/net/core/neighbour.c
@@ -2385,7 +2385,7 @@ void *neigh_seq_next(struct seq_file *seq, void *v, loff_t *pos)
2385 void *rc; 2385 void *rc;
2386 2386
2387 if (v == SEQ_START_TOKEN) { 2387 if (v == SEQ_START_TOKEN) {
2388 rc = neigh_get_idx(seq, pos); 2388 rc = neigh_get_first(seq);
2389 goto out; 2389 goto out;
2390 } 2390 }
2391 2391