]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
networkd: ndisc Do not stop ndisc client incase of conf error.
authorSusant Sahani <susant@redhat.com>
Tue, 26 Sep 2017 11:47:32 +0000 (17:17 +0530)
committerSusant Sahani <susant@redhat.com>
Tue, 26 Sep 2017 11:47:32 +0000 (17:17 +0530)
Now in ndisc_netlink_handler if route or address fails we stop the clients.
link_enter_failed->link_stop_clients that is dhcp, ndisc etc.

The clients should be keep on running .

Fixes #5625

src/network/networkd-ndisc.c

index d52b511bb55c5996cf058cae04ec7b00a9845597..27d3f9c9352611af700d080e4de01e09afc5e322 100644 (file)
@@ -39,10 +39,8 @@ static int ndisc_netlink_handler(sd_netlink *rtnl, sd_netlink_message *m, void *
         link->ndisc_messages--;
 
         r = sd_netlink_message_get_errno(m);
-        if (r < 0 && r != -EEXIST) {
+        if (r < 0 && r != -EEXIST)
                 log_link_error_errno(link, r, "Could not set NDisc route or address: %m");
-                link_enter_failed(link);
-        }
 
         if (link->ndisc_messages == 0) {
                 link->ndisc_configured = true;