• 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
..
adsl Loading commit data...
bluetooth Loading commit data...
ovs Loading commit data...
team Loading commit data...
tests Loading commit data...
wifi Loading commit data...
wwan Loading commit data...
meson.build Loading commit data...
nm-acd-manager.c Loading commit data...
nm-acd-manager.h Loading commit data...
nm-device-6lowpan.c Loading commit data...
nm-device-6lowpan.h Loading commit data...
nm-device-bond.c Loading commit data...
nm-device-bond.h Loading commit data...
nm-device-bridge.c Loading commit data...
nm-device-bridge.h Loading commit data...
nm-device-dummy.c Loading commit data...
nm-device-dummy.h Loading commit data...
nm-device-ethernet-utils.c Loading commit data...
nm-device-ethernet-utils.h Loading commit data...
nm-device-ethernet.c Loading commit data...
nm-device-ethernet.h Loading commit data...
nm-device-factory.c Loading commit data...
nm-device-factory.h Loading commit data...
nm-device-generic.c Loading commit data...
nm-device-generic.h Loading commit data...
nm-device-infiniband.c Loading commit data...
nm-device-infiniband.h Loading commit data...
nm-device-ip-tunnel.c Loading commit data...
nm-device-ip-tunnel.h Loading commit data...
nm-device-logging.h Loading commit data...
nm-device-macsec.c Loading commit data...
nm-device-macsec.h Loading commit data...
nm-device-macvlan.c Loading commit data...
nm-device-macvlan.h Loading commit data...
nm-device-ppp.c Loading commit data...
nm-device-ppp.h Loading commit data...
nm-device-private.h Loading commit data...
nm-device-tun.c Loading commit data...
nm-device-tun.h Loading commit data...
nm-device-veth.c Loading commit data...
nm-device-veth.h Loading commit data...
nm-device-vlan.c Loading commit data...
nm-device-vlan.h Loading commit data...
nm-device-vxlan.c Loading commit data...
nm-device-vxlan.h Loading commit data...
nm-device-wireguard.c Loading commit data...
nm-device-wireguard.h Loading commit data...
nm-device-wpan.c Loading commit data...
nm-device-wpan.h Loading commit data...
nm-device.c Loading commit data...
nm-device.h Loading commit data...
nm-lldp-listener.c Loading commit data...
nm-lldp-listener.h Loading commit data...