diff options
author | Vladimir Oltean <[email protected]> | 2022-09-15 13:50:40 +0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-09-20 13:53:33 -0700 |
commit | c8cbe123be6de9deff5e5312af8848362a919f97 (patch) | |
tree | 0dc5dc0a86308b29341f43db70eaa4cfd33f64cf /tools/perf/scripts/python | |
parent | 4d3c884850a14a177487cc0ffa73b7f6af2500a8 (diff) |
net/sched: taprio: taprio_offload_config_changed() is protected by rtnl_mutex
The locking in taprio_offload_config_changed() is wrong (but also
inconsequentially so). The current_entry_lock does not serialize changes
to the admin and oper schedules, only to the current entry. In fact, the
rtnl_mutex does that, and that is taken at the time when taprio_change()
is called.
Replace the rcu_dereference_protected() method with the proper RCU
annotation, and drop the unnecessary spin lock.
Signed-off-by: Vladimir Oltean <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions