diff options
author | Eric Dumazet <[email protected]> | 2023-03-16 01:10:06 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-03-17 08:52:05 +0000 |
commit | b9d83ab8a708f23a4001d60e9d8d0b3be3d9f607 (patch) | |
tree | 23a6ab230684c1a42dd59e0e146c5f035b6eade0 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | dc021e6c24e1edd809e4f109783c48e8a74b2d8c (diff) |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions