]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: flowtable: avoid possible false sharing
authorPablo Neira Ayuso <pablo@netfilter.org>
Sat, 17 Jul 2021 08:10:29 +0000 (10:10 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 23 Jul 2021 12:18:01 +0000 (14:18 +0200)
commit6597e229f4a61dcdaf4ec2c4fe4473daa3853d4b
tree4756695d6f470d5b5b9f7e20cd0ac109c532b50f
parent0d5389672c0d08fda6c6137eac9f6074d0f6e2a8
netfilter: flowtable: avoid possible false sharing

The flowtable follows the same timeout approach as conntrack, use the
same idiom as in c2553046d185 ("netfilter: conntrack: avoid same-timeout
update") but also include the fix provided by 70518a997534 ("netfilter:
conntrack: avoid possible false sharing").

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_flow_table_core.c