]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
inet_diag: annotate data-races in inet_diag_msg_common_fill()
authorEric Dumazet <edumazet@google.com>
Thu, 28 Aug 2025 10:27:34 +0000 (10:27 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 30 Aug 2025 02:29:24 +0000 (19:29 -0700)
commit9a574257b968426df5c180df1199d4b082f80ff9
tree7177287c02ad3b976ab7d6d8bd42e90f6a598819
parent34c21e91192aa1ff66f9d6cef8132717840d04e6
inet_diag: annotate data-races in inet_diag_msg_common_fill()

inet_diag_msg_common_fill() can run without socket lock.
Add READ_ONCE() or data_race() annotations.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20250828102738.2065992-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/inet_diag.c