diff options
author | Kuniyuki Iwashima <[email protected]> | 2022-07-11 17:15:31 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-07-13 12:56:49 +0100 |
commit | 12b8d9ca7e678abc48195294494f1815b555d658 (patch) | |
tree | eb0cf7b142f2ba30550f218d87781524b11ee14b /lib/netdev-notifier-error-inject.c | |
parent | 4785a66702f086cf2ea84bdbe6ec921f274bd9f2 (diff) |
tcp: Fix a data-race around sysctl_tcp_ecn_fallback.
While reading sysctl_tcp_ecn_fallback, it can be changed concurrently.
Thus, we need to add READ_ONCE() to its reader.
Fixes: 492135557dc0 ("tcp: add rfc3168, section 6.1.1.1. fallback")
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions