From f35783c3fba244fea926528bc6d0a2ba4d1c44ad Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Wed, 18 Sep 2019 10:54:13 +0200 Subject: [PATCH] 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 353c7c95c1c664c024c4267e67ed2d4b57b44437) --- src/devices/nm-device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 67e23b8f96..0ece4f9465 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -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);