diff --git a/src/lib/comms/sol-network-linux.c b/src/lib/comms/sol-network-linux.c index d973fe3a3..0fc9007de 100644 --- a/src/lib/comms/sol-network-linux.c +++ b/src/lib/comms/sol-network-linux.c @@ -238,9 +238,12 @@ _on_event(void *data, int nl_socket, unsigned int cond) while ((status = recvmsg(nl_socket, &msg, MSG_WAITALL))) { if (status < 0) { - if (errno == EWOULDBLOCK || errno == EAGAIN) + if (errno == EAGAIN) return true; + if (errno == EINTR) + continue; + SOL_WRN("Read netlink error"); return false; }