]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: make degraded-carrier bond/bridge as routable (#27776)
authorHenrik Holst <henrik.holst@millistream.com>
Thu, 15 Jun 2023 04:32:10 +0000 (06:32 +0200)
committerGitHub <noreply@github.com>
Thu, 15 Jun 2023 04:32:10 +0000 (13:32 +0900)
commitcf4dbd84ac31bbfcab905bc02bf03f67acca7413
tree2e59a81533bcfb073466734875b5c2f9a014e72e
parent4dad6101fdad2c404b0cda5248b692bfeca0f05b
network: make degraded-carrier bond/bridge as routable (#27776)

This makes a bond or bridge interface in the degraded-carrier state but has a routable address
handled as routable operational state.

If the carrier is degraded but the address state is routable then the operational state should be
seen as routable and not degraded because that may be the case for bonds if some of the links are down,
but when that happens the bond as whole is still routable.

This also makes operational state to degraded if address state is degraded even if the link state is
degraded-carrier.

Fixes #22713.
man/networkctl.xml
src/network/networkd-link.c
test/test-network/systemd-networkd-tests.py