diff options
author | Eric Dumazet <edumazet@google.com> | 2024-03-28 14:40:29 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-03-29 15:03:10 -0700 |
commit | 60557969951304dad829f2829019907dfb43ecb3 (patch) | |
tree | 10496cd31f28970e7294766127d8a3fdc27cd213 /net/lapb/lapb_timer.c | |
parent | 46dc11bee2d5272f200ac419f9e7e238c246b802 (diff) |
udp: annotate data-race in __udp_enqueue_schedule_skb()
sk->sk_rcvbuf is read locklessly twice, while other threads
could change its value.
Use a READ_ONCE() to annotate the race.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20240328144032.1864988-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions