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-09-09 08:24:41 +01:00
2022-09-09 08:24:41 +01:00
2022-09-09 08:24:41 +01:00
2022-09-09 08:24:41 +01:00
2022-09-09 08:24:41 +01:00
2022-09-09 08:24:41 +01:00
2022-09-09 08:24:41 +01:00
2022-09-09 08:24:42 +01:00
2022-09-09 08:24:42 +01:00
2022-09-09 08:24:42 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2022-09-09 08:24:42 +01:00
2022-09-09 08:24:42 +01:00
2022-09-09 08:24:42 +01:00
2022-09-09 08:24:42 +01:00
2022-09-09 08:24:42 +01:00
2022-09-09 08:24:42 +01:00
2022-09-09 08:24:42 +01:00
2022-09-09 08:24:42 +01:00
2022-09-09 08:24:42 +01:00
2022-09-09 08:24:42 +01:00
2022-09-09 08:24:43 +01:00
2022-09-02 21:24:49 -07:00
2021-08-02 10:24:38 +01:00
2022-03-03 14:38:48 +00:00
2021-08-02 10:24:38 +01:00
2021-08-02 10:24:38 +01:00
2022-09-20 09:13:38 +02:00
2021-08-02 10:24:38 +01:00
2022-04-08 13:45:43 +01:00
2022-08-26 19:48:19 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2021-08-02 10:24:38 +01:00
2021-08-02 10:24:38 +01:00
2022-04-15 14:26:11 -07:00
2020-07-13 17:20:40 -07:00
2020-11-10 17:00:28 -08:00
2020-07-03 14:34:53 -07:00
2020-07-03 14:34:53 -07:00
2022-05-16 10:31:06 +01:00
2021-02-06 11:15:28 -08:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2021-05-31 22:44:56 -07:00
2020-12-09 15:49:29 -08:00
2020-11-27 14:36:02 -08:00
2022-08-23 10:18:26 +02:00
2022-08-25 15:10:17 +02:00
2020-07-16 16:48:34 -07:00
2022-09-01 08:06:45 +02:00
2022-08-25 15:10:17 +02:00
2020-11-23 17:27:04 -08:00
2022-08-31 19:39:53 -07:00
2022-09-01 08:06:45 +02:00
2022-08-25 15:10:17 +02:00
2022-08-25 15:10:17 +02:00
2022-09-01 20:08:32 -07:00
2022-09-01 08:06:45 +02:00
2021-10-01 14:59:10 -07:00
2022-09-03 10:40:40 +01:00
2022-09-01 08:06:45 +02:00
2022-09-01 08:06:45 +02:00
2021-12-31 14:35:40 +00:00
2022-09-01 12:58:02 -07:00
2022-09-01 13:32:26 +02:00
2022-09-01 08:06:45 +02:00
2022-09-01 08:06:45 +02:00
2022-09-03 10:40:40 +01:00
2020-02-19 17:49:48 -08:00
2021-10-18 12:54:41 +01:00
2021-10-18 12:54:41 +01:00
2022-08-25 15:10:17 +02:00
2022-09-01 08:06:45 +02:00
2022-09-01 08:06:45 +02:00
2022-09-01 08:06:45 +02:00
2022-08-30 12:43:29 +02:00
2022-08-25 15:10:17 +02:00
2022-09-01 08:06:45 +02:00
2022-09-08 18:38:30 +02:00
2021-07-29 22:17:37 +01:00
2022-08-25 15:10:17 +02:00
2022-09-20 13:53:33 -07:00
2022-09-01 12:58:02 -07:00
2022-08-25 15:10:17 +02:00