commit | 7b6a893a5991f5e8a56795155ae86333b03080b7 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Mon Nov 15 11:02:43 2021 -0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Nov 16 13:10:34 2021 +0000 |
tree | b4b56acb67359121477091e1512aacb6016a570a | |
parent | 0307a0b74b3af6ecb1c8b7f727376130b15bbf44 [diff] |
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>