Skip to content
Commit bcbc1b1d authored by Eric Dumazet's avatar Eric Dumazet Committed by Paolo Abeni
Browse files

udp: move udp->no_check6_rx to udp->udp_flags



syzbot reported that udp->no_check6_rx can be read locklessly.
Use one atomic bit from udp->udp_flags.

Fixes: 1c19448c ("net: Make enabling of zero UDP6 csums more restrictive")
Reported-by: default avatarsyzbot <syzkaller@googlegroups.com>
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Reviewed-by: default avatarWillem de Bruijn <willemb@google.com>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent a0002127
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment