diff options
author | Sebastian Andrzej Siewior <[email protected]> | 2024-06-20 15:21:57 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-06-24 16:41:23 -0700 |
commit | c67ef53a88db5bcc29a6da20dcbc09206d49d0a9 (patch) | |
tree | f35d2e83369e7b74259d321726c85a2260b02450 /tools/perf/scripts/python | |
parent | ebad6d0334793f16a16e5320182f665292a31e0c (diff) |
netfilter: br_netfilter: Use nested-BH locking for brnf_frag_data_storage.
brnf_frag_data_storage 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.
Cc: Florian Westphal <[email protected]>
Cc: Jozsef Kadlecsik <[email protected]>
Cc: Nikolay Aleksandrov <[email protected]>
Cc: Pablo Neira Ayuso <[email protected]>
Cc: Roopa Prabhu <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions