diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2025-05-12 09:27:32 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-05-15 13:23:31 +0000 |
| commit | 20d677d389e7df6963ca9a41cd0f88954a65ba7b (patch) | |
| tree | ab81613bd38af3422eb39e5435d547c2894f260a /rust/macros/paste.rs | |
| parent | net/sched: act_mirred: Move the recursion counter struct netdev_xmit (diff) | |
| download | kernel-20d677d389e7df6963ca9a41cd0f88954a65ba7b.tar.gz kernel-20d677d389e7df6963ca9a41cd0f88954a65ba7b.zip | |
net/sched: Use nested-BH locking for sch_frag_data_storage
sch_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 local_lock_t to the struct 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: Jamal Hadi Salim <[email protected]>
Cc: Cong Wang <[email protected]>
Cc: Jiri Pirko <[email protected]>
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'rust/macros/paste.rs')
0 files changed, 0 insertions, 0 deletions
