summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-ndisc.c
diff options
context:
space:
mode:
authorSusant Sahani <susant@redhat.com>2017-09-26 13:47:32 +0200
committerSusant Sahani <susant@redhat.com>2017-09-26 13:47:32 +0200
commit7f676aa324cb5498a5f9caaaa3d51ecfe53242e0 (patch)
tree5a405176c739d951e5e76c1a4db57911e89a8772 /src/network/networkd-ndisc.c
parentjournal-verfiy: add a couple of missing le64toh() calls (#6888) (diff)
downloadsystemd-7f676aa324cb5498a5f9caaaa3d51ecfe53242e0.tar.xz
systemd-7f676aa324cb5498a5f9caaaa3d51ecfe53242e0.zip
networkd: ndisc Do not stop ndisc client incase of conf error.
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
Diffstat (limited to 'src/network/networkd-ndisc.c')
-rw-r--r--src/network/networkd-ndisc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/network/networkd-ndisc.c b/src/network/networkd-ndisc.c
index d52b511bb5..27d3f9c935 100644
--- a/src/network/networkd-ndisc.c
+++ b/src/network/networkd-ndisc.c
@@ -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;