]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-link.c
network: start dynamic addressing clients like DHCP after setting netdevs
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 13 Oct 2020 07:47:10 +0000 (16:47 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 14 Oct 2020 08:52:02 +0000 (10:52 +0200)
commit0e569a439a9511ef763337b5563da015f6ec5745
tree23bb0b40123237f91bb5d831009a03eb632f59f1
parenta748b122be6472de2db5090d6fa3ce7a1818d4c6
network: start dynamic addressing clients like DHCP after setting netdevs

The function link_acquire_conf() may make the link state 'configuring'
when DHCP6 PD is enabled. Previously link_acquire_conf() was called
before link_enter_join_netdev(), and thus the assertion in the function
might be triggered.

Fixes #17329.
src/network/networkd-link.c