summaryrefslogtreecommitdiffstats
path: root/net/sched/em_meta.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2019-10-11 05:17:45 +0200
committerDavid S. Miller <davem@davemloft.net>2019-10-13 19:13:08 +0200
commite292f05e0df73f9fcc93329663936e1ded97a988 (patch)
tree441d2a07b24a8dc89e22f14b373ccbcdf6377b34 /net/sched/em_meta.c
parenttcp: annotate sk->sk_rcvbuf lockless reads (diff)
downloadlinux-e292f05e0df73f9fcc93329663936e1ded97a988.tar.xz
linux-e292f05e0df73f9fcc93329663936e1ded97a988.zip
tcp: annotate sk->sk_sndbuf lockless reads
For the sake of tcp_poll(), there are few places where we fetch sk->sk_sndbuf while this field can change from IRQ or other cpu. We need to add READ_ONCE() annotations, and also make sure write sides use corresponding WRITE_ONCE() to avoid store-tearing. Note that other transports probably need similar fixes. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/em_meta.c')
0 files changed, 0 insertions, 0 deletions