diff options
| author | Kuniyuki Iwashima <[email protected]> | 2022-07-18 17:26:42 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-07-20 09:14:49 +0000 |
| commit | 9b55c20f83369dd54541d9ddbe3a018a8377f451 (patch) | |
| tree | 47fb5876d7c291eda26016d3711002bfb19f9bf4 /net/core/secure_seq.c | |
| parent | ipv4: Fix data-races around sysctl_fib_multipath_hash_fields. (diff) | |
| download | kernel-9b55c20f83369dd54541d9ddbe3a018a8377f451.tar.gz kernel-9b55c20f83369dd54541d9ddbe3a018a8377f451.zip | |
ip: Fix data-races around sysctl_ip_prot_sock.
sysctl_ip_prot_sock is accessed concurrently, and there is always a chance
of data-race. So, all readers and writers need some basic protection to
avoid load/store-tearing.
Fixes: 4548b683b781 ("Introduce a sysctl that modifies the value of PROT_SOCK.")
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/core/secure_seq.c')
0 files changed, 0 insertions, 0 deletions
