aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2019-11-04 21:38:43 -0800
committerDavid S. Miller <[email protected]>2019-11-05 18:22:30 -0800
commitf75359f3ac855940c5718af10ba089b8977bf339 (patch)
treeb41cebe578c5b17b8bb50e837008c3b92e504885 /tools/perf/scripts/python/exported-sql-viewer.py
parente7a86c687e64ab24f88330ad24ecc9442ce40c5a (diff)
net: prevent load/store tearing on sk->sk_stamp
Add a couple of READ_ONCE() and WRITE_ONCE() to prevent load-tearing and store-tearing in sock_read_timestamp() and sock_write_timestamp() This might prevent another KCSAN report. Fixes: 3a0ed3e96197 ("sock: Make sock->sk_stamp thread-safe") Signed-off-by: Eric Dumazet <[email protected]> Cc: Deepa Dinamani <[email protected]> Acked-by: Deepa Dinamani <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions