Paolo Abeni
8e9eacad7e
mptcp: fix msk traversal in mptcp_nl_cmd_set_flags()
...
The MPTCP endpoint list is under RCU protection, guarded by the
pernet spinlock. mptcp_nl_cmd_set_flags() traverses the list
without acquiring the spin-lock nor under the RCU critical section.
This change addresses the issue performing the lookup and the endpoint
update under the pernet spinlock.
Fixes: 0f9f696a502e ("mptcp: add set_flags command in PM netlink")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-01-20 20:24:01 -08:00
..
2021-07-22 16:19:03 +02:00
2022-01-18 10:05:48 +02:00
2021-11-19 11:23:23 +00:00
2021-12-07 20:44:58 -08:00
2021-07-23 14:20:25 +01:00
2021-10-24 13:59:45 +01:00
2022-01-09 17:00:17 -08:00
2022-01-05 14:36:10 -08:00
2022-01-17 05:49:30 +02:00
2021-11-01 14:10:00 -07:00
2021-06-25 13:13:50 +02:00
2022-01-12 14:44:18 +00:00
2021-12-31 14:35:40 +00:00
2022-01-05 21:49:47 +01:00
2022-01-15 16:30:29 +02:00
2022-01-20 10:12:53 +00:00
2021-06-01 17:01:33 -07:00
2021-11-23 20:16:22 -08:00
2021-12-31 14:35:40 +00:00
2021-01-27 17:04:12 -08:00
2022-01-06 11:59:10 +00:00
2021-11-24 17:21:42 -08:00
2022-01-06 12:33:35 +00:00
2021-11-29 12:12:36 +00:00
2021-11-16 13:20:45 +00:00
2021-01-27 17:04:12 -08:00
2022-01-20 20:17:50 -08:00
2022-01-20 20:18:37 -08:00
2021-12-29 08:48:14 -08:00
2021-12-29 08:48:14 -08:00
2021-05-26 07:03:39 +02:00
2021-12-10 06:38:27 -08:00
2021-03-28 17:56:55 -07:00
2021-06-08 16:31:25 -07:00
2021-12-10 19:43:00 -08:00
2022-01-05 14:36:10 -08:00
2021-10-20 14:27:40 +01:00
2022-01-11 20:26:36 -08:00
2021-12-02 11:44:56 -08:00
2022-01-20 20:24:01 -08:00
2021-12-29 17:53:24 -08:00
2022-01-16 00:55:27 +01:00
2021-11-22 17:52:47 -05:00
2021-12-29 08:48:14 -08:00
2022-01-07 14:11:05 +00:00
2022-01-20 10:57:05 +02:00
2022-01-09 17:00:17 -08:00
2022-01-20 10:12:53 +00:00
2021-12-20 11:49:51 +00:00
2021-03-14 15:00:43 -07:00
2021-12-17 17:17:14 +01:00
2021-12-16 16:13:19 -08:00
2021-12-20 11:02:38 +01:00
2021-12-29 08:48:14 -08:00
2021-11-29 15:40:02 +00:00
2022-01-20 11:25:57 +00:00
2022-01-05 14:36:10 -08:00
2022-01-16 12:30:28 +00:00
2021-11-09 01:05:28 +01:00
2022-01-16 07:42:58 +02:00
2021-12-07 20:44:58 -08:00
2022-01-05 14:36:10 -08:00
2022-01-17 13:07:47 +00:00
2022-01-14 18:31:37 -08:00
2022-01-18 10:05:48 +02:00
2022-01-19 11:15:19 +02:00
2021-12-09 18:35:11 -08:00
2022-01-05 14:36:10 -08:00
2022-01-11 20:36:08 -08:00
2021-06-03 15:13:56 -07:00
2021-06-11 12:55:28 -07:00
2021-11-20 12:25:57 +00:00
2021-12-10 06:38:26 -08:00
2021-07-29 15:06:49 +01:00
2022-01-06 12:18:08 +00:00
2021-11-09 10:02:50 -08:00