netfilter: nf_tables: Carry reset boolean in nft_set_dump_ctx
authorPhil Sutter <phil@nwl.cc>
Tue, 24 Oct 2023 13:10:40 +0000 (15:10 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 24 Oct 2023 13:48:30 +0000 (15:48 +0200)
commit9cdee063476988102bbc5e0e9551e10c5ed00d3e
tree5a9b37a18c82c1fa543335ba5b736b975e1bfdbe
parent078996fcd657e6e0c3a72b7d5806d04c32e74250
netfilter: nf_tables: Carry reset boolean in nft_set_dump_ctx

Relieve the dump callback from having to check nlmsg_type upon each
call. Prep work for set element reset locking.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c