aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/addrconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r--net/ipv6/addrconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index 21b4c9e1a682..1c58b99a54a4 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -3607,7 +3607,7 @@ static int inet6_dump_addr(struct sk_buff *skb, struct netlink_callback *cb,
3607 hlist_for_each_entry_rcu(dev, node, head, index_hlist) { 3607 hlist_for_each_entry_rcu(dev, node, head, index_hlist) {
3608 if (idx < s_idx) 3608 if (idx < s_idx)
3609 goto cont; 3609 goto cont;
3610 if (idx > s_idx) 3610 if (h > s_h || idx > s_idx)
3611 s_ip_idx = 0; 3611 s_ip_idx = 0;
3612 ip_idx = 0; 3612 ip_idx = 0;
3613 idev = __in6_dev_get(dev); 3613 idev = __in6_dev_get(dev);