• Beniamino Galvani's avatar
    device: fix reapply of MTU · 499add9c
    Beniamino Galvani authored
    When we set the MTU on the link we remember its previous source
    (ip-config, parent-device or connection profile) and don't change it
    again afterwards to avoid interfering with user's manual changes. The
    only exceptions when we change it again are (1) if the parent device
    MTU changes and (2) if the new MTU has higher priority than the one
    previously set.
    
    To allow a live reapply of the MTU property we also need to clear the
    saved source, or the checks described above will prevent setting the
    new value.
    
    Fixes: 2f891723 ('device: rework mtu priority handling')
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1702657
    (cherry picked from commit 4ed72fa6)
    (cherry picked from commit e738479b)
    499add9c
Name
Last commit
Last update
..
devices Loading commit data...
dhcp Loading commit data...
dns Loading commit data...
dnsmasq Loading commit data...
initrd Loading commit data...
ndisc Loading commit data...
platform Loading commit data...
ppp Loading commit data...
settings Loading commit data...
supplicant Loading commit data...
systemd Loading commit data...
tests Loading commit data...
vpn Loading commit data...
NetworkManagerUtils.c Loading commit data...
NetworkManagerUtils.h Loading commit data...
main-utils.c Loading commit data...
main-utils.h Loading commit data...
main.c Loading commit data...
meson.build Loading commit data...
nm-act-request.c Loading commit data...
nm-act-request.h Loading commit data...
nm-active-connection.c Loading commit data...
nm-active-connection.h Loading commit data...
nm-audit-manager.c Loading commit data...
nm-audit-manager.h Loading commit data...
nm-auth-manager.c Loading commit data...
nm-auth-manager.h Loading commit data...
nm-auth-subject.c Loading commit data...
nm-auth-subject.h Loading commit data...
nm-auth-utils.c Loading commit data...
nm-auth-utils.h Loading commit data...
nm-checkpoint-manager.c Loading commit data...
nm-checkpoint-manager.h Loading commit data...
nm-checkpoint.c Loading commit data...
nm-checkpoint.h Loading commit data...
nm-config-data.c Loading commit data...
nm-config-data.h Loading commit data...
nm-config.c Loading commit data...
nm-config.h Loading commit data...
nm-connectivity.c Loading commit data...
nm-connectivity.h Loading commit data...
nm-core-utils.c Loading commit data...
nm-core-utils.h Loading commit data...
nm-dbus-manager.c Loading commit data...
nm-dbus-manager.h Loading commit data...
nm-dbus-object.c Loading commit data...
nm-dbus-object.h Loading commit data...
nm-dbus-utils.c Loading commit data...
nm-dbus-utils.h Loading commit data...
nm-dcb.c Loading commit data...
nm-dcb.h Loading commit data...
nm-dhcp4-config.c Loading commit data...
nm-dhcp4-config.h Loading commit data...
nm-dhcp6-config.c Loading commit data...
nm-dhcp6-config.h Loading commit data...
nm-dispatcher.c Loading commit data...
nm-dispatcher.h Loading commit data...
nm-firewall-manager.c Loading commit data...
nm-firewall-manager.h Loading commit data...
nm-hostname-manager.c Loading commit data...
nm-hostname-manager.h Loading commit data...
nm-iface-helper.c Loading commit data...
nm-ip4-config.c Loading commit data...
nm-ip4-config.h Loading commit data...
nm-ip6-config.c Loading commit data...
nm-ip6-config.h Loading commit data...
nm-keep-alive.c Loading commit data...
nm-keep-alive.h Loading commit data...
nm-logging.c Loading commit data...
nm-logging.h Loading commit data...
nm-manager.c Loading commit data...
nm-manager.h Loading commit data...
nm-netns.c Loading commit data...
nm-netns.h Loading commit data...
nm-pacrunner-manager.c Loading commit data...
nm-pacrunner-manager.h Loading commit data...
nm-policy.c Loading commit data...
nm-policy.h Loading commit data...
nm-proxy-config.c Loading commit data...
nm-proxy-config.h Loading commit data...
nm-rfkill-manager.c Loading commit data...
nm-rfkill-manager.h Loading commit data...
nm-session-monitor.c Loading commit data...
nm-session-monitor.h Loading commit data...
nm-sleep-monitor.c Loading commit data...
nm-sleep-monitor.h Loading commit data...
nm-test-utils-core.h Loading commit data...
nm-types.h Loading commit data...
org.freedesktop.NetworkManager.conf Loading commit data...