summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2019-01-03 03:26:13 +0100
committerDavid S. Miller <davem@davemloft.net>2019-01-03 05:15:43 +0100
commit73155879b3c1ac3ace35208a54a3a160ec520bef (patch)
tree04bc99f43ce1958357b9f739616486bf465c9156 /net/sunrpc
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf (diff)
downloadlinux-73155879b3c1ac3ace35208a54a3a160ec520bef.tar.xz
linux-73155879b3c1ac3ace35208a54a3a160ec520bef.zip
ipv6: Fix dump of specific table with strict checking
Dump of a specific table with strict checking enabled is looping. The problem is that the end of the table dump is not marked in the cb. When dumping a specific table, cb args 0 and 1 are not used (they are the hash index and entry with an hash table index when dumping all tables). Re-use args[0] to hold a 'done' flag for the specific table dump. Fixes: 13e38901d46ca ("net/ipv6: Plumb support for filtering route dumps") Reported-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions