eal/linux: fix epoll timeout
Function rte_epoll_wait should return when underlying call to epoll_wait times out. Signed-off-by: Robert Sanford <rsanford@akamai.com> Acked-by: Cunming Liang <cunming.liang@intel.com>
This commit is contained in:
parent
da68ad4f55
commit
79db649c4b
@ -1002,6 +1002,9 @@ rte_epoll_wait(int epfd, struct rte_epoll_event *events,
|
||||
strerror(errno));
|
||||
rc = -1;
|
||||
break;
|
||||
} else {
|
||||
/* rc == 0, epoll_wait timed out */
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user