mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-27 09:20:32 +01:00
device: reset ip6_mtu on cleanup
ip6_mtu contains the MTU received through IPv6 autoconfiguration; it should be reset when the connection is deactivated. https://bugzilla.redhat.com/show_bug.cgi?id=1753128 (cherry picked from commit353c7c95c1) (cherry picked from commitf35783c3fb)
This commit is contained in:
parent
ab50a0ccc4
commit
bd6f42f300
1 changed files with 1 additions and 0 deletions
|
|
@ -14575,6 +14575,7 @@ nm_device_cleanup (NMDevice *self, NMDeviceStateReason reason, CleanupType clean
|
|||
}
|
||||
|
||||
priv->mtu_source = NM_DEVICE_MTU_SOURCE_NONE;
|
||||
priv->ip6_mtu = 0;
|
||||
if (priv->mtu_initial || priv->ip6_mtu_initial) {
|
||||
ifindex = nm_device_get_ip_ifindex (self);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue