diff options
author | 2022-07-20 09:50:23 -0700 | |
---|---|---|
committer | 2022-07-22 12:06:17 +0100 | |
commit | 2455e61b85e9c99af38cd889a7101f1d48b33cb4 (patch) | |
tree | 443f16d5217aca317b8ccf5035d62a76d27459d0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tcp: Fix a data-race around sysctl_tcp_min_tso_segs. (diff) | |
download | linux-dev-2455e61b85e9c99af38cd889a7101f1d48b33cb4.tar.xz linux-dev-2455e61b85e9c99af38cd889a7101f1d48b33cb4.zip |
tcp: Fix a data-race around sysctl_tcp_tso_rtt_log.
While reading sysctl_tcp_tso_rtt_log, it can be changed concurrently.
Thus, we need to add READ_ONCE() to its reader.
Fixes: 65466904b015 ("tcp: adjust TSO packet sizes based on min_rtt")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions