diff options
author | Vladimir Oltean <[email protected]> | 2021-02-12 17:15:52 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-02-12 17:08:04 -0800 |
commit | 304ae3bf1c1abe66faece2040a5525392ea49f68 (patch) | |
tree | 36fcb2f40791a387624d1c18564ad92c4392ba7d /lib/mpi/mpi-bit.c | |
parent | 4c08c586ff29bda47e3db14da096331d84933f48 (diff) |
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 <[email protected]>
Acked-by: Nikolay Aleksandrov <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions