From: Eric Dumazet Date: Mon, 25 Jun 2012 22:37:19 +0000 (-0700) Subject: ipv6: fib: fix fib dump restart X-Git-Tag: v3.5-rc5~17^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa809e2fd6e317226c046202a88520962672eac0;p=pandora-kernel.git ipv6: fib: fix fib dump restart Commit 2bec5a369ee79576a3 (ipv6: fib: fix crash when changing large fib while dumping it) introduced ability to restart the dump at tree root, but failed to skip correctly a count of already dumped entries. Code didn't match Patrick intent. We must skip exactly the number of already dumped entries. Note that like other /proc/net files or netlink producers, we could still dump some duplicates entries. Reported-by: Debabrata Banerjee Reported-by: Josh Hunt Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed