Home
last modified time | relevance | path

Searched hist:e13ec3da05d130f0d10da8e1fbe1be26dcdb0e27 (Results 1 – 6 of 6) sorted by relevance

/linux/net/ipv4/
H A Dtcp_timer.cdiff e13ec3da05d130f0d10da8e1fbe1be26dcdb0e27 Wed Mar 15 21:57:44 CET 2023 Eric Dumazet <edumazet@google.com> tcp: annotate lockless access to sk->sk_err

tcp_poll() reads sk->sk_err without socket lock held/owned.

We should used READ_ONCE() here, and update writers
to use WRITE_ONCE().

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dtcp_output.cdiff e13ec3da05d130f0d10da8e1fbe1be26dcdb0e27 Wed Mar 15 21:57:44 CET 2023 Eric Dumazet <edumazet@google.com> tcp: annotate lockless access to sk->sk_err

tcp_poll() reads sk->sk_err without socket lock held/owned.

We should used READ_ONCE() here, and update writers
to use WRITE_ONCE().

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dtcp_ipv4.cdiff e13ec3da05d130f0d10da8e1fbe1be26dcdb0e27 Wed Mar 15 21:57:44 CET 2023 Eric Dumazet <edumazet@google.com> tcp: annotate lockless access to sk->sk_err

tcp_poll() reads sk->sk_err without socket lock held/owned.

We should used READ_ONCE() here, and update writers
to use WRITE_ONCE().

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dtcp.cdiff e13ec3da05d130f0d10da8e1fbe1be26dcdb0e27 Wed Mar 15 21:57:44 CET 2023 Eric Dumazet <edumazet@google.com> tcp: annotate lockless access to sk->sk_err

tcp_poll() reads sk->sk_err without socket lock held/owned.

We should used READ_ONCE() here, and update writers
to use WRITE_ONCE().

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dtcp_input.cdiff e13ec3da05d130f0d10da8e1fbe1be26dcdb0e27 Wed Mar 15 21:57:44 CET 2023 Eric Dumazet <edumazet@google.com> tcp: annotate lockless access to sk->sk_err

tcp_poll() reads sk->sk_err without socket lock held/owned.

We should used READ_ONCE() here, and update writers
to use WRITE_ONCE().

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
/linux/net/ipv6/
H A Dtcp_ipv6.cdiff e13ec3da05d130f0d10da8e1fbe1be26dcdb0e27 Wed Mar 15 21:57:44 CET 2023 Eric Dumazet <edumazet@google.com> tcp: annotate lockless access to sk->sk_err

tcp_poll() reads sk->sk_err without socket lock held/owned.

We should used READ_ONCE() here, and update writers
to use WRITE_ONCE().

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>