]> 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>
Thu, 17 Oct 2024 13:10:45 +0000 (15:10 +0200)
commit3e2b7c9d5ec8df52ea076e7a4b18b699a6fca907
tree83798009d2cc72609c33fda9426e6f22a07f4526
parentb5f97550839db1cd848d2fe9ae1d94d9eb3c8368
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