Commit 5d0a8d2a authored by Mark Tomlinson's avatar Mark Tomlinson Committed by Zheng Zengkai
Browse files

Revert "netfilter: x_tables: Update remaining dereference to RCU"



stable inclusion
from stable-5.10.27
commit c33f918758fa11143caec15e6e565edb103bf761
bugzilla: 51493

--------------------------------

[ Upstream commit abe7034b ]

This reverts commit 443d6e86.

This (and the following) patch basically re-implemented the RCU
mechanisms of patch 78454473. That patch was replaced because of the
performance problems that it created when replacing tables. Now, we have
the same issue: the call to synchronize_rcu() makes replacing tables
slower by as much as an order of magnitude.

Revert these patches and fix the issue in a different way.

Signed-off-by: default avatarMark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatar  Weilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent be2fd8ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment