From: Lennart Poettering Date: Tue, 2 Oct 2018 14:26:50 +0000 (+0200) Subject: sd-radv: EAGAIN is not really unexpected, distinguishit from other errors when logging X-Git-Tag: v240~645^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8eb41f4c08c7fd3476d41c0d8cac3c5e3df2f6a2;p=platform%2Fupstream%2Fsystemd.git sd-radv: EAGAIN is not really unexpected, distinguishit from other errors when logging --- diff --git a/src/libsystemd-network/sd-radv.c b/src/libsystemd-network/sd-radv.c index 4116b7e..89c5a33 100644 --- a/src/libsystemd-network/sd-radv.c +++ b/src/libsystemd-network/sd-radv.c @@ -249,8 +249,11 @@ static int radv_recv(sd_event_source *s, int fd, uint32_t revents, void *userdat log_radv("Received invalid source address from ICMPv6 socket. Ignoring."); break; + case -EAGAIN: /* ignore spurious wakeups */ + break; + default: - log_radv_errno(r, "Error receiving from ICMPv6 socket: %m"); + log_radv_errno(r, "Unexpected error receiving from ICMPv6 socket: %m"); break; }