Files
linux-rockchip/lib
Kuniyuki Iwashima 4d4e39245d ratelimit: Fix data-races in ___ratelimit().
[ Upstream commit 6bae8ceb90 ]

While reading rs->interval and rs->burst, they can be changed
concurrently via sysctl (e.g. net_ratelimit_state).  Thus, we
need to add READ_ONCE() to their readers.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
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-08-31 17:15:20 +02:00
..
2022-06-22 14:13:18 +02:00
2022-05-18 10:23:44 +02:00
2020-05-24 20:48:11 +02:00
2022-07-12 16:32:23 +02:00
2022-06-22 14:13:18 +02:00
2020-10-13 18:38:32 -07:00
2022-06-22 14:13:18 +02:00
2022-06-22 14:13:18 +02:00
2021-09-03 10:09:21 +02:00
2020-09-26 10:33:57 -07:00
2020-06-29 10:02:23 +02:00