Kuniyuki Iwashima cc9540ba5b raw: Fix a data-race around sysctl_raw_l3mdev_accept.
[ Upstream commit 1dace014928e6e385363032d359a04dee9158af0 ]

While reading sysctl_raw_l3mdev_accept, it can be changed concurrently.
Thus, we need to add READ_ONCE() to its reader.

Fixes: 6897445fb194 ("net: provide a sysctl raw_l3mdev_accept for raw socket lookup with VRFs")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-07-21 20:59:22 +02:00
..
2021-06-10 13:37:09 +02:00
2022-01-05 12:37:44 +01:00
2019-04-19 14:07:40 -07:00
2019-10-23 20:13:22 -07:00
2020-07-22 09:32:46 +02:00
2019-09-13 21:44:19 +02:00
2021-08-04 12:27:39 +02:00
2019-04-22 21:47:25 -07:00
2022-07-21 20:59:20 +02:00
2019-06-19 11:23:13 -04:00
2022-03-19 13:40:16 +01:00