mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-07 23:00:19 +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 commit 353c7c95c1)
This commit is contained in:
parent
3478b515e5
commit
f35783c3fb
1 changed files with 1 additions and 0 deletions
|
|
@ -14802,6 +14802,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