netfilter: nf_tables: Always allocate nft_rule_dump_ctx
authorPhil Sutter <phil@nwl.cc>
Fri, 29 Sep 2023 19:19:18 +0000 (21:19 +0200)
committerFlorian Westphal <fw@strlen.de>
Tue, 10 Oct 2023 14:01:42 +0000 (16:01 +0200)
commitafed2b54c5403393986c3b3555152dfd4ab7998a
tree2b66fe97cf62d13e32cc5a13d52bfdc9e1d047c8
parentf0107b864f004bc6fa19bf6d5074b4a366f3e16a
netfilter: nf_tables: Always allocate nft_rule_dump_ctx

It will move into struct netlink_callback's scratch area later, just put
nf_tables_dump_rules_start in shape to reduce churn later.

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