inet: annotate data-races around ifa->ifa_flags
authorEric Dumazet <edumazet@google.com>
Thu, 29 Feb 2024 11:40:14 +0000 (11:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Mar 2024 11:09:39 +0000 (11:09 +0000)
commit3ddc2231c8108302a8229d3c5849ee792a63230d
tree4d2a119755c239e17508060146305f774a767382
parent9f6fa3c4e722cbb9a007c3b85797bebfcdee84e9
inet: annotate data-races around ifa->ifa_flags

ifa->ifa_flags can be read locklessly.

Add appropriate READ_ONCE()/WRITE_ONCE() annotations.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/devinet.c