networkd: Add comment for setting_mtu #7460 (#7489)

Follow up #7460
This commit is contained in:
Susant Sahani
2017-11-28 17:24:52 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent 4de8d3f59e
commit fbdb6605b5
+3
View File
@@ -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;