1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-26 09:57:26 +03:00

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

Follow up #7460
This commit is contained in:
Susant Sahani 2017-11-28 21:54:52 +05:30 committed by Zbigniew Jędrzejewski-Szmek
parent 4de8d3f59e
commit fbdb6605b5

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;