diff options
| author | Eric Dumazet <edumazet@google.com> | 2021-11-15 11:02:43 -0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-11-16 13:10:34 +0000 |
| commit | 7b6a893a5991f5e8a56795155ae86333b03080b7 (patch) | |
| tree | b4b56acb67359121477091e1512aacb6016a570a /net/unix/af_unix.c | |
| parent | tcp: annotate data-races on tp->segs_in and tp->data_segs_in (diff) | |
| download | linux-7b6a893a5991f5e8a56795155ae86333b03080b7.tar.gz linux-7b6a893a5991f5e8a56795155ae86333b03080b7.zip | |
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
