diff options
| author | Kuniyuki Iwashima <[email protected]> | 2022-07-13 20:51:59 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-07-15 10:49:55 +0000 |
| commit | 08a75f10679470552a3a443f9aefd1399604d31d (patch) | |
| tree | fd9b511dd71501ff5aacc4a0c3a842800c86fbbd /net/ipv4/tcp_output.c | |
| parent | tcp/dccp: Fix a data-race around sysctl_tcp_fwmark_accept. (diff) | |
| download | kernel-08a75f10679470552a3a443f9aefd1399604d31d.tar.gz kernel-08a75f10679470552a3a443f9aefd1399604d31d.zip | |
tcp: Fix data-races around sysctl_tcp_l3mdev_accept.
While reading sysctl_tcp_l3mdev_accept, it can be changed concurrently.
Thus, we need to add READ_ONCE() to its readers.
Fixes: 6dd9a14e92e5 ("net: Allow accepted sockets to be bound to l3mdev domain")
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
