diff options
| author | 2022-08-23 10:46:44 -0700 | |
|---|---|---|
| committer | 2022-08-24 13:46:57 +0100 | |
| commit | 1227c1771dd2ad44318aa3ab9e3a293b3f34ff2a (patch) | |
| tree | 6e6eef2a68c70de96ec16d26192138ea296972bf /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | net/core/skbuff: Check the return value of skb_copy_bits() (diff) | |
| download | linux-dev-1227c1771dd2ad44318aa3ab9e3a293b3f34ff2a.tar.xz linux-dev-1227c1771dd2ad44318aa3ab9e3a293b3f34ff2a.zip | |
net: Fix data-races around sysctl_[rw]mem_(max|default).
While reading sysctl_[rw]mem_(max|default), they can be changed
concurrently. Thus, we need to add READ_ONCE() to its 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 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
