commit | 4b97efdf392563bf03b4917a0b5add2df65de39a | [log] [tgz] |
---|---|---|
author | Patrick McHardy <kaber@trash.net> | Fri Mar 26 20:27:49 2010 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 26 20:27:49 2010 -0700 |
tree | 4add83ac917bb6d8319fc48c64529fd607721151 | |
parent | ac90a149361a331f697d5aa500bedcff22054669 [diff] |
net: fix netlink address dumping in IPv4/IPv6 When a dump is interrupted at the last device in a hash chain and then continued, "idx" won't get incremented past s_idx, so s_ip_idx is not reset when moving on to the next device. This means of all following devices only the last n - s_ip_idx addresses are dumped. Tested-by: Pawel Staszewski <pstaszewski@itcare.pl> Signed-off-by: Patrick McHardy <kaber@trash.net>