summaryrefslogtreecommitdiff
path: root/net/packet/diag.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2023-03-16 04:10:06 +0300
committerDavid S. Miller <davem@davemloft.net>2023-03-17 11:52:05 +0300
commitb9d83ab8a708f23a4001d60e9d8d0b3be3d9f607 (patch)
tree23a6ab230684c1a42dd59e0e146c5f035b6eade0 /net/packet/diag.c
parentdc021e6c24e1edd809e4f109783c48e8a74b2d8c (diff)
downloadlinux-b9d83ab8a708f23a4001d60e9d8d0b3be3d9f607.tar.xz
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 'net/packet/diag.c')
0 files changed, 0 insertions, 0 deletions