From fbdb6605b5f01bd7f386cc743b2521ec1acafc14 Mon Sep 17 00:00:00 2001 From: Susant Sahani <145210+ssahani@users.noreply.github.com> Date: Tue, 28 Nov 2017 21:54:52 +0530 Subject: [PATCH] networkd: Add comment for setting_mtu #7460 (#7489) Follow up #7460 --- src/network/networkd-link.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index 0494ee3d44..473bd420d4 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -3108,6 +3108,9 @@ static int link_carrier_lost(Link *link) { assert(link); + /* Some devices reset itself while setting the MTU. This causes the DHCP client fall into a loop. + setting_mtu keep track whether the device got reset because of setting MTU and does not drop the + configuration and stop the clients as well. */ if (link->setting_mtu) return 0;