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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Nov 2023 10:51:54 +0000 (11:51 +0100)
commit9709c6d7594d8c11f361bd7844c4c949908ba92f
treec96c0d91911f4e910f5349b2959b81159f28e83d
parent100a75d56b0df4df9b70f8d96eb3a2d14f484fb2
netfilter: nf_tables: Drop pointless memset when dumping rules

[ Upstream commit 30fa41a0f6df4c85790cc6499ddc4a926a113bfa ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/netfilter/nf_tables_api.c