tcp: annotate data-race around queue->synflood_warned
authorEric Dumazet <edumazet@google.com>
Tue, 15 Nov 2022 09:18:51 +0000 (09:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2022 13:32:53 +0000 (13:32 +0000)
commitbf36267e3ad3df80a3a18eb0422723069a434934
tree698aa0d1372d12317be857fd00305b399c91115c
parent1d7322f28fde3f90f2a2ed0b62fafc004b3f822a
tcp: annotate data-race around queue->synflood_warned

Annotate the lockless read of queue->synflood_warned.

Following xchg() has the needed data-race resolution.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c