Vladimir Oltean c8cbe123be 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 <vladimir.oltean@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-09-20 13:53:33 -07:00
..
2022-08-08 20:04:35 -07:00
2022-02-25 09:36:06 +01:00
2022-09-15 09:08:09 +02:00
2022-09-20 10:21:49 -07:00
2022-09-20 10:32:36 +02:00
2022-05-25 12:22:58 -07:00
2022-09-20 10:21:49 -07:00
2022-08-22 11:40:01 -07:00
2022-08-22 14:26:30 +01:00
2022-08-22 14:26:30 +01:00