netfilter: nf_tables: honor set timeout and garbage collection updates
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 19 Dec 2022 19:10:12 +0000 (20:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jan 2023 10:59:09 +0000 (11:59 +0100)
commitac95cdafaca8d5ffdb44319ae8a23d9720acab3b
tree069d14c67f3b61d4d4dd6fe8eb54c7f4182076d1
parent49677ea1513e753bd90ed1a1e2c206076b7da9ec
netfilter: nf_tables: honor set timeout and garbage collection updates

[ Upstream commit 123b99619cca94bdca0bf7bde9abe28f0a0dfe06 ]

Set timeout and garbage collection interval updates are ignored on
updates. Add transaction to update global set element timeout and
garbage collection interval.

Fixes: 96518518cc41 ("netfilter: add nftables")
Suggested-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/net/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c