Eric Dumazet 55a2c86c8d net: write once on dev->allmulti and dev->promiscuity
In the following patch we want to read dev->allmulti
and dev->promiscuity locklessly from rtnl_fill_ifinfo()

In this patch I change __dev_set_promiscuity() and
__dev_set_allmulti() to write these fields (and dev->flags)
only if they succeed, with WRITE_ONCE() annotations.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2024-05-07 11:14:50 +02:00
..
2024-03-07 21:12:41 -08:00
2024-04-01 10:49:28 +01:00
2024-04-30 10:51:33 +02:00
2024-01-23 15:13:55 +01:00
2024-04-29 13:12:19 -07:00
2022-12-12 15:04:39 -08:00
2024-03-07 21:12:42 -08:00