diff options
author | 2024-05-03 19:20:55 +0000 | |
---|---|---|
committer | 2024-05-07 11:14:50 +0200 | |
commit | 55a2c86c8db3d7aa2c1967efd37ed47d5ae37f43 (patch) | |
tree | b14aeedf2fef869a5bf90c85ba3888ec69d133b1 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | rtnetlink: do not depend on RTNL for IFLA_TXQLEN output (diff) | |
download | wireguard-linux-55a2c86c8db3d7aa2c1967efd37ed47d5ae37f43.tar.xz wireguard-linux-55a2c86c8db3d7aa2c1967efd37ed47d5ae37f43.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions