Eric Dumazet b8e3343e11 net: udp: annotate data race around udp_sk(sk)->corkflag
commit a9f5970767d11eadc805d5283f202612c7ba1f59 upstream.

up->corkflag field can be read or written without any lock.
Annotate accesses to avoid possible syzbot/KCSAN reports.

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
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>
2021-10-06 10:23:42 +02:00
..
2018-04-13 19:48:32 +02:00
2021-09-03 09:44:40 +02:00
2016-09-21 00:23:01 -04:00
2019-04-17 08:36:45 +02:00
2017-05-14 14:00:21 +02:00
2016-09-01 14:09:01 -07:00