diff options
author | Horatiu Vultur <horatiu.vultur@microchip.com> | 2020-05-21 23:19:07 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-22 16:17:15 -0700 |
commit | 4fb13499d3a0cc74cf9820c052481f0ccda2bb23 (patch) | |
tree | f127f0ca4b86898b7528b157e7bd397b41dafe30 /include/net/switchdev.h | |
parent | 89c1e111cb4860b51efef50474cd259c2702edc6 (diff) | |
download | linux-4fb13499d3a0cc74cf9820c052481f0ccda2bb23.tar.gz linux-4fb13499d3a0cc74cf9820c052481f0ccda2bb23.tar.bz2 linux-4fb13499d3a0cc74cf9820c052481f0ccda2bb23.zip |
bridge: mrp: Restore port state when deleting MRP instance
When a MRP instance is deleted, then restore the port according to the
bridge state. If the bridge is up then the ports will be in forwarding
state otherwise will be in disabled state.
Fixes: 9a9f26e8f7ea ("bridge: mrp: Connect MRP API with the switchdev API")
Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/switchdev.h')
0 files changed, 0 insertions, 0 deletions