Home
last modified time | relevance | path

Searched hist:e0d694d638dba768b47be31c22e1a9b4f862f561 (Results 1 – 4 of 4) sorted by relevance

/linux/net/ipv4/
H A Dtcp_minisocks.cdiff e0d694d638dba768b47be31c22e1a9b4f862f561 Fri Oct 11 05:17:42 CEST 2019 Eric Dumazet <edumazet@google.com> 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>
H A Dtcp_output.cdiff e0d694d638dba768b47be31c22e1a9b4f862f561 Fri Oct 11 05:17:42 CEST 2019 Eric Dumazet <edumazet@google.com> 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>
H A Dtcp.cdiff e0d694d638dba768b47be31c22e1a9b4f862f561 Fri Oct 11 05:17:42 CEST 2019 Eric Dumazet <edumazet@google.com> 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>
/linux/include/net/
H A Dtcp.hdiff e0d694d638dba768b47be31c22e1a9b4f862f561 Fri Oct 11 05:17:42 CEST 2019 Eric Dumazet <edumazet@google.com> 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>