summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-link.h
diff options
context:
space:
mode:
authorSusant Sahani <145210+ssahani@users.noreply.github.com>2017-11-26 15:21:45 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-11-26 15:21:45 +0100
commit97e7fb39a84468ef802a3d2ec19840eff27de211 (patch)
tree7546d5b5ff677c3d2fd56e9eccaeb94b6fc82905 /src/network/networkd-link.h
parentexec-util: initialize `new` before using it (#7471) (diff)
downloadsystemd-97e7fb39a84468ef802a3d2ec19840eff27de211.tar.xz
systemd-97e7fb39a84468ef802a3d2ec19840eff27de211.zip
networkd: DHCP client do not get into a loop while setting MTU (#7460)
Some devices get reset itself while setting the MTU. we get in to a LOOP . Once the MTU changed then the DHCP client talking with DHCP server never stops. networkd gets into a loop and generates endless DHCP requests. fixes #6593 fixes #7380
Diffstat (limited to '')
-rw-r--r--src/network/networkd-link.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-link.h b/src/network/networkd-link.h
index a05a788d78..25e49c8329 100644
--- a/src/network/networkd-link.h
+++ b/src/network/networkd-link.h
@@ -110,6 +110,7 @@ typedef struct Link {
bool ipv4ll_route:1;
bool static_configured;
+ bool setting_mtu;
LIST_HEAD(Address, pool_addresses);