From: David Woodhouse Date: Thu, 8 Jul 2021 20:16:27 +0000 (+0100) Subject: Reads from the vhost_call_fd do return -EINTR when we loop multiple times X-Git-Tag: v8.20~99 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=0fc967c3f1f3f0cb15fc70d32ac70d9cb8608f36;p=users%2Fdwmw2%2Fopenconnect.git Reads from the vhost_call_fd do return -EINTR when we loop multiple times Signed-off-by: David Woodhouse --- diff --git a/vhost.c b/vhost.c index 8b25cec3..5e045292 100644 --- a/vhost.c +++ b/vhost.c @@ -547,9 +547,7 @@ int vhost_tun_mainloop(struct openconnect_info *vpninfo, int *timeout, int reada if (!did_work && readable) { uint64_t evt; if (read(vpninfo->vhost_call_fd, &evt, sizeof(evt)) != sizeof(evt)) { - /* Can never happen */ - vpn_progress(vpninfo, PRG_ERR, - _("Failed to read vhost-net call eventfd\n")); + /* Do nothing */ } }