diff options
author | 2021-07-17 10:20:08 +0200 | |
---|---|---|
committer | 2021-07-23 14:18:02 +0200 | |
commit | 32953df7a6eb56bd9b8f18a13034d55f9fc96cfa (patch) | |
tree | 48e2e8efcadc59cd46cd93bb7ee0e8994804cb9e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | netfilter: flowtable: avoid possible false sharing (diff) | |
download | wireguard-linux-32953df7a6eb56bd9b8f18a13034d55f9fc96cfa.tar.xz wireguard-linux-32953df7a6eb56bd9b8f18a13034d55f9fc96cfa.zip |
netfilter: nft_last: avoid possible false sharing
Use the idiom described in:
https://github.com/google/ktsan/wiki/READ_ONCE-and-WRITE_ONCE#it-may-improve-performance
Moreover, prevent a compiler optimization.
Fixes: 836382dc2471 ("netfilter: nf_tables: add last expression")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions