netfilter: nf_tables: fix dumping with large number of sets
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 24 Dec 2013 17:32:35 +0000 (18:32 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 28 Dec 2013 11:14:42 +0000 (12:14 +0100)
commite38195bf32d7ccb2ae3f56f36b895daf455ffd94
tree4baa17d0647af70be1d54fe01840cc9a6abb7dde
parentb25adce1606427fd88da08f5203714cada7f6a98
netfilter: nf_tables: fix dumping with large number of sets

If not table name is specified, the dumping of the existing sets
may be incomplete with a sufficiently large number of sets and
tables. This patch fixes missing reset of the cursors after
finding the location of the last object that has been included
in the previous multi-part message.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c