Searched hist:"7 b6a893a5991f5e8a56795155ae86333b03080b7" (Results 1 – 2 of 2) sorted by relevance
/linux/net/ipv4/ |
H A D | tcp.c | diff 7b6a893a5991f5e8a56795155ae86333b03080b7 Mon Nov 15 20:02:43 CET 2021 Eric Dumazet <edumazet@google.com> tcp: annotate races around tp->urg_data
tcp_poll() and tcp_ioctl() are reading tp->urg_data without socket lock owned.
Also, it is faster to first check tp->urg_data in tcp_poll(), then tp->urg_seq == tp->copied_seq, because tp->urg_seq is located in a different/cold cache line.
Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | tcp_input.c | diff 7b6a893a5991f5e8a56795155ae86333b03080b7 Mon Nov 15 20:02:43 CET 2021 Eric Dumazet <edumazet@google.com> tcp: annotate races around tp->urg_data
tcp_poll() and tcp_ioctl() are reading tp->urg_data without socket lock owned.
Also, it is faster to first check tp->urg_data in tcp_poll(), then tp->urg_seq == tp->copied_seq, because tp->urg_seq is located in a different/cold cache line.
Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|