diff options
author | Eric Dumazet <[email protected]> | 2019-10-09 15:32:35 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2019-10-09 21:43:00 -0700 |
commit | eac66402d1c342f07ff38f8d631ff95eb7ad3220 (patch) | |
tree | d25d4b62d8f9a01ed18b820307bfb0080a26a28f /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 8265792bf8871acc2d00fd03883d830e2249d395 (diff) |
net: annotate sk->sk_rcvlowat lockless reads
sock_rcvlowat() or int_sk_rcvlowat() might be called without the socket
lock for example from tcp_poll().
Use READ_ONCE() to document the fact that other cpus might change
sk->sk_rcvlowat under us and avoid KCSAN splats.
Use WRITE_ONCE() on write sides too.
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions