From: Susant Sahani <145210+ssahani@users.noreply.github.com> Date: Tue, 28 Nov 2017 16:24:52 +0000 (+0530) Subject: networkd: Add comment for setting_mtu #7460 (#7489) X-Git-Tag: v236~101 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fbdb6605b5f01bd7f386cc743b2521ec1acafc14;p=thirdparty%2Fsystemd.git networkd: Add comment for setting_mtu #7460 (#7489) Follow up #7460 --- diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index 0494ee3d445..473bd420d4f 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;