netfilter: nf_tables: Drop pointless memset when dumping rules
authorPhil Sutter <phil@nwl.cc>
Fri, 29 Sep 2023 19:19:19 +0000 (21:19 +0200)
committerFlorian Westphal <fw@strlen.de>
Tue, 10 Oct 2023 14:34:20 +0000 (16:34 +0200)
commit30fa41a0f6df4c85790cc6499ddc4a926a113bfa
treee5ff0b6ea6439e7b27b9bf81d62988b8d120bdbe
parentafed2b54c5403393986c3b3555152dfd4ab7998a
netfilter: nf_tables: Drop pointless memset when dumping rules

None of the dump callbacks uses netlink_callback::args beyond the first
element, no need to zero the data.

Fixes: 96518518cc41 ("netfilter: add nftables")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
net/netfilter/nf_tables_api.c