Skip to content
Commit a9f59707 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

net: udp: annotate data race around udp_sk(sk)->corkflag



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

Fixes: 1da177e4 ("Linux-2.6.12-rc2")
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 103bde37
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment