]> git.ipfire.org Git - thirdparty/linux.git/commit
inet: annotate data-races around ifa->ifa_valid_lft
authorEric Dumazet <edumazet@google.com>
Thu, 29 Feb 2024 11:40:12 +0000 (11:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Mar 2024 11:09:39 +0000 (11:09 +0000)
commita5fcf74d80bec9948701ff0f7529ae96a0c4a41c
tree2c0b80c4cf88df1307270ee0c7a0a07315160d7a
parent3cd3e72ccb3aade0e8fe037ef07a44b341ab577c
inet: annotate data-races around ifa->ifa_valid_lft

ifa->ifa_valid_lft 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