summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2023-03-16 01:10:06 +0000
committerDavid S. Miller <davem@davemloft.net>2023-03-17 08:52:05 +0000
commitb9d83ab8a708f23a4001d60e9d8d0b3be3d9f607 (patch)
tree23a6ab230684c1a42dd59e0e146c5f035b6eade0 /fs
parentdc021e6c24e1edd809e4f109783c48e8a74b2d8c (diff)
downloadlinux-b9d83ab8a708f23a4001d60e9d8d0b3be3d9f607.tar.gz
linux-b9d83ab8a708f23a4001d60e9d8d0b3be3d9f607.tar.bz2
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 'fs')
0 files changed, 0 insertions, 0 deletions