diff options
author | Eric Dumazet <edumazet@google.com> | 2021-11-15 11:02:42 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-16 13:10:34 +0000 |
commit | 0307a0b74b3af6ecb1c8b7f727376130b15bbf44 (patch) | |
tree | 31f6f571d6c135b02a5dc6cf9f63dc5b860a36e0 /net/ipv4/tcp_ipv4.c | |
parent | d2489c7b6d7d5ed4b32b56703c57c47bfbfe7fa5 (diff) |
tcp: annotate data-races on tp->segs_in and tp->data_segs_in
tcp_segs_in() can be called from BH, while socket spinlock
is held but socket owned by user, eventually reading these
fields from tcp_get_info()
Found by code inspection, no need to backport this patch
to older kernels.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions