Skip to content

team: set port configuration even if it's empty

Lubomir Rintel requested to merge lr/team-default-port-conf into main

Call teamdctl_port_config_update_raw() when we're attaching a port even if all of team-slave setting properties are default.

This is done to ensure teamd "knows" about the port (that is, "teamdctl ... port present" returns success) when we're done activating the slave connection. It will pick it up anyway from netlink, but that can happen after the activation is done, resulting in a possible race.

Fixes-test: @remove_active_team_profile

https://bugzilla.redhat.com/show_bug.cgi?id=2102375

Merge request reports