netfilter: nf_tables: use struct nft_set_iter in set element flush
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 18 Jan 2017 17:30:08 +0000 (18:30 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 8 Feb 2017 13:16:18 +0000 (14:16 +0100)
commitbaa2d42cff088d9f962697a10e0345b444c8c409
treee2750c8ae13b404f043e20ec541d6986eaafad33
parent5cb82a38c6b5152b1deaba0c1596ce63222a4710
netfilter: nf_tables: use struct nft_set_iter in set element flush

Instead of struct nft_set_dump_args, remove unnecessary wrapper
structure.

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