diff options
| author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2025-08-18 13:02:13 +0200 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2025-08-20 13:52:37 +0200 |
| commit | 456010c8b99e65231160d4c706122ac5502fbcff (patch) | |
| tree | d87de0d34d32c76022ac91eb148d0b8959e9d23e /rust/helpers/helpers.c | |
| parent | 6aa67d5706f031f24cd486d8df7dc7fddca62b22 (diff) | |
netfilter: nft_set_pipapo: Use nested-BH locking for nft_pipapo_scratch
nft_pipapo_scratch 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.
Add a local_lock_t to the data structure 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: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
