diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2025-05-12 12:28:45 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2025-05-23 13:57:12 +0200 |
commit | ba36fada9ab487634f61f92769c95bc148aa8f49 (patch) | |
tree | 340a6e6453da08e03f705ff0d1d9f06b87467340 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | a1f1acb9c5db9b385c9b3eb1f27f897c06df49ae (diff) |
netfilter: nft_inner: Use nested-BH locking for nft_pcpu_tun_ctx
nft_pcpu_tun_ctx is a per-CPU variable and relies on disabled BH for its
locking. Without per-CPU locking in local_bh_disable() on PREEMPT_RT
this data structure requires explicit locking.
Make a struct with a nft_inner_tun_ctx member (original
nft_pcpu_tun_ctx) and a local_lock_t and use local_lock_nested_bh() for
locking. This change adds only lockdep coverage and does not alter the
functional behaviour for !PREEMPT_RT.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions