ipv6/addrconf: annotate data-races around devconf fields (II)
authorEric Dumazet <edumazet@google.com>
Wed, 28 Feb 2024 13:54:38 +0000 (13:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Mar 2024 08:42:33 +0000 (08:42 +0000)
commit2f0ff05a44302c91af54a5f9efe1b65b7681540e
treea52fed953ac1a1b35f271d10f03867b41f203691
parent2aba913f99debce6cd1c7f606d69d094d1202559
ipv6/addrconf: annotate data-races around devconf fields (II)

Final (?) round of this series.

Annotate lockless reads on following devconf fields,
because they be changed concurrently from /proc/net/ipv6/conf.

- accept_dad
- optimistic_dad
- use_optimistic
- use_oif_addrs_only
- ra_honor_pio_life
- keep_addr_on_down
- ndisc_notify
- ndisc_evict_nocarrier
- suppress_frag_ndisc
- addr_gen_mode
- seg6_enabled
- ioam6_enabled
- ioam6_id
- ioam6_id_wide
- drop_unicast_in_l2_multicast
- mldv[12]_unsolicited_report_interval
- force_mld_version
- force_tllao
- accept_untracked_na
- drop_unsolicited_na
- accept_source_route

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c
net/ipv6/exthdrs.c
net/ipv6/ioam6.c
net/ipv6/ip6_input.c
net/ipv6/mcast.c
net/ipv6/ndisc.c
net/ipv6/seg6_hmac.c