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)
commit32c3973d808301e7a980f80fee8818fdf7c82b09
tree4756695d6f470d5b5b9f7e20cd0ac109c532b50f
parentcfbe3650dd3ef2ea9a4420ca89d9a4df98af3fb6
netfilter: flowtable: avoid possible false sharing

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

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