aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/anycast.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/anycast.c')
-rw-r--r--net/ipv6/anycast.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv6/anycast.c b/net/ipv6/anycast.c
index f915c4df9820..5c4190060e75 100644
--- a/net/ipv6/anycast.c
+++ b/net/ipv6/anycast.c
@@ -504,6 +504,7 @@ static struct ifacaddr6 *ac6_get_idx(struct seq_file *seq, loff_t pos)
504} 504}
505 505
506static void *ac6_seq_start(struct seq_file *seq, loff_t *pos) 506static void *ac6_seq_start(struct seq_file *seq, loff_t *pos)
507 __acquires(dev_base_lock)
507{ 508{
508 read_lock(&dev_base_lock); 509 read_lock(&dev_base_lock);
509 return ac6_get_idx(seq, *pos); 510 return ac6_get_idx(seq, *pos);
@@ -518,6 +519,7 @@ static void *ac6_seq_next(struct seq_file *seq, void *v, loff_t *pos)
518} 519}
519 520
520static void ac6_seq_stop(struct seq_file *seq, void *v) 521static void ac6_seq_stop(struct seq_file *seq, void *v)
522 __releases(dev_base_lock)
521{ 523{
522 struct ac6_iter_state *state = ac6_seq_private(seq); 524 struct ac6_iter_state *state = ac6_seq_private(seq);
523 if (likely(state->idev != NULL)) { 525 if (likely(state->idev != NULL)) {