Re: [PATCH net] net/ipv6: Fix index counter for unicast addresses in in6_dump_addrs

2018-10-20 Thread David Miller
From: David Ahern Date: Fri, 19 Oct 2018 10:00:19 -0700 > From: David Ahern > > The loop wants to skip previously dumped addresses, so loops until > current index >= saved index. If the message fills it wants to save > the index for the next address to dump - ie., the one that did not > fit in

[PATCH net] net/ipv6: Fix index counter for unicast addresses in in6_dump_addrs

2018-10-19 Thread David Ahern
From: David Ahern The loop wants to skip previously dumped addresses, so loops until current index >= saved index. If the message fills it wants to save the index for the next address to dump - ie., the one that did not fit in the current message. Currently, it is incrementing the index counter