aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6')
-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 8975d9501d50..d6b4f5d08014 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -4213,7 +4213,7 @@ static int inet6_dump_addr(struct sk_buff *skb, struct netlink_callback *cb,
4213 goto cont; 4213 goto cont;
4214 4214
4215 if (in6_dump_addrs(idev, skb, cb, type, 4215 if (in6_dump_addrs(idev, skb, cb, type,
4216 s_ip_idx, &ip_idx) <= 0) 4216 s_ip_idx, &ip_idx) < 0)
4217 goto done; 4217 goto done;
4218cont: 4218cont:
4219 idx++; 4219 idx++;