summaryrefslogtreecommitdiffstats
path: root/net/bridge/br_sysfs_if.c
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2021-02-12 17:15:52 +0200
committerDavid S. Miller <davem@davemloft.net>2021-02-12 17:08:04 -0800
commit304ae3bf1c1abe66faece2040a5525392ea49f68 (patch)
tree36fcb2f40791a387624d1c18564ad92c4392ba7d /net/bridge/br_sysfs_if.c
parent4c08c586ff29bda47e3db14da096331d84933f48 (diff)
downloadlinux-stable-304ae3bf1c1abe66faece2040a5525392ea49f68.tar.gz
linux-stable-304ae3bf1c1abe66faece2040a5525392ea49f68.tar.bz2
linux-stable-304ae3bf1c1abe66faece2040a5525392ea49f68.zip
net: bridge: offload all port flags at once in br_setport
If for example this command: ip link set swp0 type bridge_slave flood off mcast_flood off learning off succeeded at configuring BR_FLOOD and BR_MCAST_FLOOD but not at BR_LEARNING, there would be no attempt to revert the partial state in any way. Arguably, if the user changes more than one flag through the same netlink command, this one _should_ be all or nothing, which means it should be passed through switchdev as all or nothing. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Acked-by: Nikolay Aleksandrov <nikolay@nvidia.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_sysfs_if.c')
0 files changed, 0 insertions, 0 deletions