Files
linux/include
Kuniyuki Iwashima dccf8a67f3 ip: Fix a data-race around sysctl_fwmark_reflect.
[ Upstream commit 85d0b4dbd7 ]

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

Fixes: e110861f86 ("net: add a sysctl to reflect the fwmark on replies")
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-29 17:25:13 +02:00
..
2021-09-20 12:43:34 +01:00