]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: add data-race annotations in softnet_seq_show()
authorEric Dumazet <edumazet@google.com>
Mon, 7 Apr 2025 16:36:01 +0000 (16:36 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 8 Apr 2025 19:30:55 +0000 (12:30 -0700)
commit22d046a778e4344437fd49bb0995e315ec3fddcf
tree13c07e09869805f2ec83a6851190962de5f94dce
parent7b6f0a852da34379a304d7020d70049ba5d1f0f3
net: add data-race annotations in softnet_seq_show()

softnet_seq_show() reads several fields that might be updated
concurrently. Add READ_ONCE() and WRITE_ONCE() annotations.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20250407163602.170356-4-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/dev.c
net/core/net-procfs.c