aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-05-03 19:20:55 +0000
committerPaolo Abeni <[email protected]>2024-05-07 09:14:50 +0000
commit55a2c86c8db3d7aa2c1967efd37ed47d5ae37f43 (patch)
treeb14aeedf2fef869a5bf90c85ba3888ec69d133b1 /drivers/net/xen-netback/interface.c
parentrtnetlink: do not depend on RTNL for IFLA_TXQLEN output (diff)
downloadkernel-55a2c86c8db3d7aa2c1967efd37ed47d5ae37f43.tar.gz
kernel-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 <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions