diff options
author | Eric Dumazet <edumazet@google.com> | 2019-10-11 05:17:42 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-13 19:13:08 +0200 |
commit | e0d694d638dba768b47be31c22e1a9b4f862f561 (patch) | |
tree | c35cd9fe92b9008fda870b5ae83b3971e6632a60 /include/net/fq.h | |
parent | tcp: annotate tp->write_seq lockless reads (diff) | |
download | linux-e0d694d638dba768b47be31c22e1a9b4f862f561.tar.xz linux-e0d694d638dba768b47be31c22e1a9b4f862f561.zip |
tcp: annotate tp->snd_nxt lockless reads
There are few places where we fetch tp->snd_nxt 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.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/fq.h')
0 files changed, 0 insertions, 0 deletions