Thread (3 messages) flat view 3 messages, 3 authors, 2026-02-27

Re: [PATCH net] net: annotate data-races around sk->sk_{data_ready,write_space}

From: Kuniyuki Iwashima <kuniyu@google.com>
Date: 2026-02-26 22:13:56

On Wed, Feb 25, 2026 at 5:15 AM Eric Dumazet [off-list ref] wrote:
skmsg (and probably other layers) are changing these pointers
while other cpus might read them concurrently.

Add corresponding READ_ONCE()/WRITE_ONCE() annotations
for UDP, TCP and AF_UNIX.

Fixes: 604326b41a6f ("bpf, sockmap: convert to generic sk_msg interface")
Reported-by: syzbot+87f770387a9e5dc6b79b@syzkaller.appspotmail.com
Closes: https://lore.kernel.org/netdev/699ee9fc.050a0220.1cd54b.0009.GAE@google.com/ (local)
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help