Jeremy Kerr
581edcd0c8
mctp: perform route destruction under RCU read lock
...
The kernel test robot reports:
[ 843.509974][ T345] =============================
[ 843.524220][ T345] WARNING: suspicious RCU usage
[ 843.538791][ T345] 5.14.0-rc2-00606-g889b7da23abf #1 Not tainted
[ 843.553617][ T345] -----------------------------
[ 843.567412][ T345] net/mctp/route.c:310 RCU-list traversed in non-reader section!!
- we're missing the rcu read lock acquire around the destruction path.
This change adds the acquire/release - the path is already atomic, and
we're using the _rcu list iterators.
Reported-by: kernel test robot <oliver.sang@intel.com >
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au >
Signed-off-by: David S. Miller <davem@davemloft.net >
2021-09-08 11:29:16 +01:00
..
2021-07-22 16:19:03 +02:00
2021-06-02 14:01:55 -07:00
2021-08-13 16:30:35 -07:00
2021-07-27 20:11:45 +01:00
2021-07-23 14:20:25 +01:00
2021-06-10 14:08:09 -07:00
2021-08-03 11:21:39 +01:00
2021-09-03 15:33:47 -07:00
2021-09-01 09:51:16 -07:00
2021-08-17 00:45:07 +02:00
2021-06-25 13:13:50 +02:00
2021-09-03 13:43:19 +01:00
2021-07-15 11:08:33 -07:00
2021-08-05 13:27:50 +01:00
2021-06-30 15:51:09 -07:00
2021-09-03 11:51:26 +01:00
2021-06-01 17:01:33 -07:00
2021-09-08 11:28:35 +01:00
2021-08-05 13:27:50 +01:00
2021-01-27 17:04:12 -08:00
2021-09-01 11:48:05 +01:00
2021-08-03 13:05:26 +01:00
2021-08-24 07:38:29 -07:00
2021-06-16 12:13:01 -07:00
2021-08-13 06:41:22 -07:00
2021-01-27 17:04:12 -08:00
2021-09-05 18:59:32 +01:00
2021-09-06 16:41:54 +01:00
2021-08-09 10:13:32 +01:00
2021-06-29 11:28:21 -07:00
2021-05-26 07:03:39 +02:00
2021-06-07 14:08:30 -07:00
2021-03-28 17:56:55 -07:00
2021-06-08 16:31:25 -07:00
2021-08-05 13:27:50 +01:00
2021-08-26 10:18:56 +02:00
2021-09-07 14:06:08 +01:00
2021-09-08 11:29:16 +01:00
2021-07-23 17:17:56 +01:00
2021-09-03 11:49:30 +01:00
2021-09-01 17:18:56 -07:00
2021-09-03 16:20:37 -07:00
2021-08-30 12:23:18 +01:00
2021-07-30 18:35:47 +02:00
2021-08-05 13:27:50 +01:00
2021-08-13 14:09:19 -07:00
2021-08-19 18:09:18 -07:00
2021-08-05 13:27:50 +01:00
2021-08-05 13:27:50 +01:00
2021-03-14 15:00:43 -07:00
2021-09-02 11:37:02 +01:00
2021-08-18 15:35:50 -07:00
2021-04-20 16:44:04 -07:00
2021-03-10 12:45:15 -08:00
2021-08-18 10:12:11 +01:00
2021-09-04 10:49:46 +01:00
2021-08-03 11:43:43 +01:00
2021-08-13 06:41:22 -07:00
2021-06-29 11:28:21 -07:00
2021-09-04 10:25:26 -07:00
2021-08-04 12:35:07 +01:00
2021-09-03 11:51:26 +01:00
2021-06-29 15:45:27 -07:00
2021-08-31 11:31:52 +01:00
2021-08-12 10:57:27 -07:00
2021-08-26 11:04:55 +02:00
2021-06-10 14:08:09 -07:00
2021-06-29 15:45:27 -07:00
2021-08-27 11:16:29 +01:00
2021-06-03 15:13:56 -07:00
2021-06-11 12:55:28 -07:00
2021-07-29 15:06:49 +01:00
2021-07-29 15:06:49 +01:00
2021-08-31 16:43:06 -07:00
2021-04-12 13:27:11 -07:00