[PATCH net-next 0/2] bridge: Redirect to backup port when port is administratively down
Ido Schimmel <[email protected]>
| Newsgroups | gmane.linux.network,gmane.linux.network.bridge |
|---|---|
| Message-ID | <[email protected]> |
Patch #1 amends the bridge to redirect to the backup port when the
primary port is administratively down and not only when it does not have
a carrier. See the commit message for more details.
Patch #2 extends the bridge backup port selftest to cover this case.
Ido Schimmel (2):
bridge: Redirect to backup port when port is administratively down
selftests: net: Test bridge backup port when port is administratively
down
net/bridge/br_forward.c | 3 +-
.../selftests/net/test_bridge_backup_port.sh | 31 ++++++++++++++++---
2 files changed, 29 insertions(+), 5 deletions(-)
--
2.50.1