]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "netfilter: x_tables: Update remaining dereference to RCU"
authorMark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>
Mon, 8 Mar 2021 01:24:11 +0000 (14:24 +1300)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 15 Mar 2021 17:42:00 +0000 (18:42 +0100)
commitc7111c90a8de7782caee02b47dc94bb8d3faa8fb
tree8a84a057ee7232959ba876457687f4361b00f98b
parent47baaa3597e328ef3ff9f02cec0662b356ac228b
Revert "netfilter: x_tables: Update remaining dereference to RCU"

This reverts commit 78f1ea0b998db105e12a4abd2eeb32bd0bac98de.

This (and the following) patch basically re-implemented the RCU
mechanisms of patch 8abf527013d4. 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: Mark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/arp_tables.c
net/ipv4/netfilter/ip_tables.c
net/ipv6/netfilter/ip6_tables.c