diff --git a/res/res_timing_timerfd.c b/res/res_timing_timerfd.c index 438603b556..ae5d2b411e 100644 --- a/res/res_timing_timerfd.c +++ b/res/res_timing_timerfd.c @@ -165,7 +165,7 @@ static void timerfd_timer_ack(int handle, unsigned int quantity) do { read_result = read(handle, &expirations, sizeof(expirations)); if (read_result == -1) { - if (errno == EINTR) { + if (errno == EINTR || errno == EAGAIN) { continue; } else { ast_log(LOG_ERROR, "Read error: %s\n", strerror(errno));