]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
netfilter: nf_tables: skip transaction if update object is not implemented
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 5 Mar 2024 08:35:48 +0000 (09:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 18:50:56 +0000 (19:50 +0100)
commit7ffeda67d3660dcf030e32f3af8d0f15155cb39a
treece0070ff8b9a39e954c135dc7fff3f3bdab711b3
parent65aec8dc425dbcb02353f38a861a359d5fc3df3a
netfilter: nf_tables: skip transaction if update object is not implemented

[ Upstream commit 84b1a0c0140a9a92ea108576c0002210f224ce59 ]

Turn update into noop as a follow up for:

  9fedd894b4e1 ("netfilter: nf_tables: fix unexpected EOPNOTSUPP error")

instead of adding a transaction object which is simply discarded at a
later stage of the commit protocol.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Stable-dep-of: cddc04275f95 ("netfilter: nf_tables: must hold rcu read lock while iterating object type list")
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/netfilter/nf_tables_api.c