summaryrefslogtreecommitdiffstats
path: root/net/bridge/br_sysfs_if.c
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2021-02-12 16:15:52 +0100
committerDavid S. Miller <davem@davemloft.net>2021-02-13 02:08:04 +0100
commit304ae3bf1c1abe66faece2040a5525392ea49f68 (patch)
tree36fcb2f40791a387624d1c18564ad92c4392ba7d /net/bridge/br_sysfs_if.c
parentnet: switchdev: propagate extack to port attributes (diff)
downloadlinux-304ae3bf1c1abe66faece2040a5525392ea49f68.tar.xz
linux-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