summaryrefslogtreecommitdiffstats
path: root/security/Kconfig
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2022-08-23 10:46:48 -0700
committerDavid S. Miller <davem@davemloft.net>2022-08-24 13:46:57 +0100
commit6bae8ceb90ba76cdba39496db936164fa672b9be (patch)
tree6b4e9de4005b45f341c5ef7e66f133e82bb90972 /security/Kconfig
parent61adf447e38664447526698872e21c04623afb8e (diff)
downloadlinux-6bae8ceb90ba76cdba39496db936164fa672b9be.tar.bz2
ratelimit: Fix data-races in ___ratelimit().
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: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/Kconfig')
0 files changed, 0 insertions, 0 deletions