aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2022-07-22 11:22:01 -0700
committerDavid S. Miller <[email protected]>2022-07-25 12:42:09 +0100
commit4866b2b0f7672b6d760c4b8ece6fb56f965dcc8a (patch)
treea092b310a82f9cb47287056c35596ef21f8963b3 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent02739545951ad4c1215160db7fbf9b7a918d3c0b (diff)
tcp: Fix a data-race around sysctl_tcp_comp_sack_delay_ns.
While reading sysctl_tcp_comp_sack_delay_ns, it can be changed concurrently. Thus, we need to add READ_ONCE() to its reader. Fixes: 6d82aa242092 ("tcp: add tcp_comp_sack_delay_ns sysctl") Signed-off-by: Kuniyuki Iwashima <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions