summaryrefslogtreecommitdiffstats
path: root/include/exec/exec-all.h
diff options
context:
space:
mode:
authorVic Lee2019-03-01 07:48:09 +0100
committerSamuel Thibault2019-03-06 23:36:19 +0100
commit6c419a1e06c21c4568d5a12a9c5cafcdb00f6aa8 (patch)
tree821d7c57b5c6bda191b06adbcf9d07315e0dc0e8 /include/exec/exec-all.h
parentslirp: Fix build with gcc 9 (diff)
downloadqemu-6c419a1e06c21c4568d5a12a9c5cafcdb00f6aa8.tar.gz
qemu-6c419a1e06c21c4568d5a12a9c5cafcdb00f6aa8.tar.xz
qemu-6c419a1e06c21c4568d5a12a9c5cafcdb00f6aa8.zip
slirp: check for ioctlsocket error and 0-length udp payload.
Sometimes sorecvfrom() is called from slirp.c because revents == G_IO_IN, but there is 0 bytes available and recvfrom could be blocking indefinitely. This is likely due to 0-length udp payload. This also adds an error checking for ioctlsocket. Signed-off-by: Vic Lee <llyzs.vic@gmail.com> Message-Id: <20190301064809.3074-1-llyzs.vic@gmail.com> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions