Eric Dumazet d986f52124 ipv6: lockless IPV6_MULTICAST_LOOP implementation
Add inet6_{test|set|clear|assign}_bit() helpers.

Note that I am using bits from inet->inet_flags,
this might change in the future if we need more flags.

While solving data-races accessing np->mc_loop,
this patch also allows to implement lockless accesses
to np->mcast_hops in the following patch.

Also constify sk_mc_loop() argument.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-09-15 10:33:46 +01:00
..
2023-08-29 17:39:15 -07:00
2023-08-16 11:09:16 +01:00
2023-08-29 17:39:15 -07:00
2023-01-26 10:52:18 +01:00
2023-09-14 16:16:36 +02:00
2023-09-14 16:16:36 +02:00
2023-08-29 17:39:15 -07:00