]> git.baikalelectronics.ru Git - kernel.git/commit
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 11:01:58 +0000 (12:01 +0100)
commit93a4cdeea672eab152ecba803ca54020191cf4ab
tree70ec84a79987a8567215726af029d335336cbe5d
parentba85674030b3754c76891c6091936b004b67d664
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: 4a4835e91e03 ("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