diff options
| author | 2026-06-09 11:32:21 -0700 | |
|---|---|---|
| committer | 2026-06-11 12:55:23 +0200 | |
| commit | f26cddcf2a8a997c6c1e73101160197c3dead435 (patch) | |
| tree | 596e9e4f97c9290b100aede256350f20b345162e /scripts/Makefile.thinlto | |
| parent | Merge branch 'net-rds-convert-rds-to-getsockopt_iter' (diff) | |
net: shaper: drop redundant xa_lock() bracketing
The shaper insertion and update code takes xa_lock() explicitly.
Paolo explained that the locking was purely to avoid re-taking
the lock in loops. But it may be mis-read as if it was expecting
readers to be fenced off by xa_lock. Readers of XArray are purely
under RCU. Remove explicit taking of xa_lock().
All writers to hierarchy->shapers are serialized by the netdev
instance lock (or run after netdev is made inaccessible to readers).
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20260609183224.1108521-2-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
