diff options
author | Daniel Béreš <dberes@cisco.com> | 2022-04-22 08:06:17 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2022-04-26 15:46:00 +0000 |
commit | c69655e3bd0b876408c160c369f39120f71c2038 (patch) | |
tree | ad753caba2abf4e7ab3b2d57614fa9921577c4af /src/vnet/hdlc/hdlc.c | |
parent | b95e6d4e75be250629b69e18290f866b1a737a41 (diff) |
libmemif: timer causes spin at 100% cpu
In case of timer is set and expires:
1. timer_fd is readable and stay readable.
2. timer_fd is part of epoll_fd set. This makes epoll_pwait()
calls return immediately instead of sleeping.
Type: fix
Signed-off-by: Daniel Béreš <dberes@cisco.com>
Change-Id: I9b228464fe45b83def9b182c885d6febf428049c
Diffstat (limited to 'src/vnet/hdlc/hdlc.c')
0 files changed, 0 insertions, 0 deletions