diff options
author | 2023-03-16 01:10:06 +0000 | |
---|---|---|
committer | 2023-03-17 08:52:05 +0000 | |
commit | b9d83ab8a708f23a4001d60e9d8d0b3be3d9f607 (patch) | |
tree | 23a6ab230684c1a42dd59e0e146c5f035b6eade0 /tools/perf/scripts/python/stackcollapse.py | |
parent | Merge branch 'gve-xdp-support' (diff) | |
download | wireguard-linux-b9d83ab8a708f23a4001d60e9d8d0b3be3d9f607.tar.xz wireguard-linux-b9d83ab8a708f23a4001d60e9d8d0b3be3d9f607.zip |
net/packet: annotate accesses to po->xmit
po->xmit can be set from setsockopt(PACKET_QDISC_BYPASS),
while read locklessly.
Use READ_ONCE()/WRITE_ONCE() to avoid potential load/store
tearing issues.
Fixes: d346a3fae3ff ("packet: introduce PACKET_QDISC_BYPASS socket option")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions