diff options
author | Eric Dumazet <edumazet@google.com> | 2023-09-12 09:17:24 +0000 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-09-14 16:16:36 +0200 |
commit | e1dc0615c6b08ef36414f08c011965b8fb56198b (patch) | |
tree | 146013171a93e03ec8d322c189bd82fc615922ab /net/ipv6/netfilter | |
parent | bcbc1b1de884647aa0318bf74eb7f293d72a1e40 (diff) | |
download | linux-stable-e1dc0615c6b08ef36414f08c011965b8fb56198b.tar.gz linux-stable-e1dc0615c6b08ef36414f08c011965b8fb56198b.tar.bz2 linux-stable-e1dc0615c6b08ef36414f08c011965b8fb56198b.zip |
udp: move udp->gro_enabled to udp->udp_flags
syzbot reported that udp->gro_enabled can be read locklessly.
Use one atomic bit from udp->udp_flags.
Fixes: e20cf8d3f1f7 ("udp: implement GRO for plain UDP sockets.")
Reported-by: syzbot <syzkaller@googlegroups.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/ipv6/netfilter')
0 files changed, 0 insertions, 0 deletions