diff options
author | Phil Sutter <phil@nwl.cc> | 2023-11-09 16:01:16 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-12-22 12:08:38 +0100 |
commit | 3d483faa66639ad96d8373046c47f2b2d76fdf76 (patch) | |
tree | a12daa3a6e7cebd9e9b5a587fec29e6f03b15a10 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f649be6d9c84960e358f350914a0673411467b11 (diff) |
netfilter: nf_tables: Add locking for NFT_MSG_GETSETELEM_RESET requests
Set expressions' dump callbacks are not concurrency-safe per-se with
reset bit set. If two CPUs reset the same element at the same time,
values may underrun at least with element-attached counters and quotas.
Prevent this by introducing dedicated callbacks for nfnetlink and the
asynchronous dump handling to serialize access.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions