netfilter: nf_tables: Carry s_idx in nft_rule_dump_ctx
authorPhil Sutter <phil@nwl.cc>
Fri, 29 Sep 2023 19:19:21 +0000 (21:19 +0200)
committerFlorian Westphal <fw@strlen.de>
Tue, 10 Oct 2023 14:34:28 +0000 (16:34 +0200)
commit8194d599bc01bc6e89b14af436803cf90d0a8650
tree6ae4b96680825a6951e095c05f4a6d901c9352f2
parent405c8fd62d612dd0e1d5ca59903449616453a56d
netfilter: nf_tables: Carry s_idx in nft_rule_dump_ctx

In order to move the context into struct netlink_callback's scratch
area, the latter must be unused first.

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