diff options
author | Eric Dumazet <edumazet@google.com> | 2019-10-10 20:17:43 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-13 10:13:08 -0700 |
commit | d9b55bf7b6788ec0bd1db1acefbc4feb1399144a (patch) | |
tree | 428615c37202b0d44173735a2efe04651aff469b /lib/crypto | |
parent | e0d694d638dba768b47be31c22e1a9b4f862f561 (diff) | |
download | linux-d9b55bf7b6788ec0bd1db1acefbc4feb1399144a.tar.bz2 |
tcp: annotate tp->urg_seq lockless reads
There two places where we fetch tp->urg_seq while
this field can change from IRQ or other cpu.
We need to add READ_ONCE() annotations, and also make
sure write side 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 'lib/crypto')
0 files changed, 0 insertions, 0 deletions