Skip to content

[th/rh2156684-ignore-carrier-2] device: delete software device when disconnecting device due to loss of carrier

Thomas Haller requested to merge th/rh2156684-ignore-carrier-2 into main

It's not well defined when we delete devices. In general, we delete devices when the connection goes down and NetworkManager created the device earlier.

Software devices like bond/bridge/team default to ignoring carrier. However, when configuring them to not ignore carrier ([device].ignore-carrier), they were not deleted when deactivating the devices.

This adjusts commit d0c2a24b ('device: do not remove software devices on initial disconnected (rh #1035814)'). Note that back then there was no check whether the device has an activation queued, so it behaved differently than.


follow up to !1608 (merged).


NetworkManager-ci!1437 (closed)

Edited by Thomas Haller

Merge request reports

Loading