diff options
author | Eric Dumazet <edumazet@google.com> | 2024-08-27 01:52:49 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-08-28 17:08:16 -0700 |
commit | 3e5cbbb1fb9a64588a2c6ddc5e432a303d36a488 (patch) | |
tree | 8efed836d67b210fa4edf00c60f494fb8380d4b8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0fa5e94a1811d68fbffa0725efe6d4ca62c03d12 (diff) |
tcp: remove volatile qualifier on tw_substate
Using a volatile qualifier for a specific struct field is unusual.
Use instead READ_ONCE()/WRITE_ONCE() where necessary.
tcp_timewait_state_process() can change tw_substate while other
threads are reading this field.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jason Xing <kerneljasonxing@gmail.com>
Link: https://patch.msgid.link/20240827015250.3509197-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions