diff options
| author | Eric Dumazet <edumazet@google.com> | 2021-03-12 00:33:22 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-17 16:43:43 +0100 |
| commit | 92ba49b27efd409fd27bdcd5bbb2946d8a02938c (patch) | |
| tree | f857fa6443d767fb4fd700d8f061996c8373bbbe /scripts | |
| parent | 7209e120966c5557106caed20cb4bb08ab26d5d3 (diff) | |
tcp: annotate tp->write_seq lockless reads
[ Upstream commit 0f31746452e6793ad6271337438af8f4defb8940 ]
There are few places where we fetch tp->write_seq 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
