Skip to content
Commit 4b97efdf authored by Patrick McHardy's avatar Patrick McHardy Committed by David S. Miller
Browse files

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: default avatarPawel Staszewski <pstaszewski@itcare.pl>
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
parent ac90a149
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment