ipv6: prepare inet6_fill_ifla6_attrs() for RCU
authorEric Dumazet <edumazet@google.com>
Thu, 22 Feb 2024 10:50:09 +0000 (10:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Feb 2024 11:46:12 +0000 (11:46 +0000)
commit4ad268136421dc9813280c55940eca00796420e5
treeea968ee216ebef868e6a88119ea582ad47bfe352
parente353ea9ce471331c13edffd5977eadd602d1bb80
ipv6: prepare inet6_fill_ifla6_attrs() for RCU

We want to no longer hold RTNL while calling inet6_fill_ifla6_attrs()
in the future. Add needed READ_ONCE()/WRITE_ONCE() annotations.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c
net/ipv6/ndisc.c