]> git.ipfire.org Git - thirdparty/linux.git/commit
netfilter: nf_tables: use C99 struct initializer for nft_set_iter
authorFernando Fernandez Mancera <fmancera@suse.de>
Mon, 13 Oct 2025 08:59:48 +0000 (10:59 +0200)
committerFlorian Westphal <fw@strlen.de>
Thu, 30 Oct 2025 11:52:45 +0000 (12:52 +0100)
commit320d80eeb22219bc1dd14780113c36e11dad7c04
tree52682a95261a4bc93ddff4d60865dd8ec4ad474e
parentea7d0d60ebc9bddf3ad768557dfa1495bc032bf6
netfilter: nf_tables: use C99 struct initializer for nft_set_iter

Use C99 struct initializer for nft_set_iter, simplifying the code and
preventing future errors due to uninitialized fields if new fields are
added to the struct.

Signed-off-by: Fernando Fernandez Mancera <fmancera@suse.de>
Signed-off-by: Florian Westphal <fw@strlen.de>
net/netfilter/nf_tables_api.c
net/netfilter/nft_lookup.c