]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
netfilter: nf_tables: remove annotation to access set timeout while holding lock
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 2 Sep 2024 23:07:06 +0000 (01:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:28:54 +0000 (16:28 +0200)
commit814b8bc5cc0a2d9f0cbee68c9171b07aadaea03b
tree7a73e51222cf67b95e0496c78f64e9ae0afc0d42
parent9431e5eddcc153bb55d0fd73fd3ac75969e7c99a
netfilter: nf_tables: remove annotation to access set timeout while holding lock

[ Upstream commit 15d8605c0cf4fc9cf4386cae658c68a0fd4bdb92 ]

Mutex is held when adding an element, no need for READ_ONCE, remove it.

Fixes: 123b99619cca ("netfilter: nf_tables: honor set timeout and garbage collection updates")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/netfilter/nf_tables_api.c