Searched hist:d9b55bf7b6788ec0bd1db1acefbc4feb1399144a (Results 1 – 2 of 2) sorted by relevance
/linux/net/ipv4/ |
H A D | tcp.c | diff d9b55bf7b6788ec0bd1db1acefbc4feb1399144a Fri Oct 11 05:17:43 CEST 2019 Eric Dumazet <edumazet@google.com> 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>
|
H A D | tcp_input.c | diff d9b55bf7b6788ec0bd1db1acefbc4feb1399144a Fri Oct 11 05:17:43 CEST 2019 Eric Dumazet <edumazet@google.com> 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>
|