diff options
author | Phil Sutter <[email protected]> | 2023-10-19 16:03:36 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <[email protected]> | 2023-10-24 13:16:29 +0200 |
commit | 3cb03edb4de33fd04c4ea55f47397b96a8657c53 (patch) | |
tree | c82f45e2442d232d6d0349df570e5d08b7ad72d2 /tools/perf/scripts/python/futex-contention.py | |
parent | 1578c32877191815f631af32ba5dfc1f1b20c1b4 (diff) |
netfilter: nf_tables: Add locking for NFT_MSG_GETRULE_RESET requests
Rule reset is not concurrency-safe per-se, so multiple CPUs may reset
the same rule at the same time. At least counter and quota expressions
will suffer from value underruns in this case.
Prevent this by introducing dedicated locking callbacks for nfnetlink
and the asynchronous dump handling to serialize access.
Signed-off-by: Phil Sutter <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions