IPC: don't interpret EMSGSIZE and ENOMSG as a disconnect

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
This commit is contained in:
Angus Salkeld 2013-02-18 14:56:24 +11:00
parent 3d7774816e
commit 481bd0cf86

View File

@ -135,6 +135,8 @@ qb_ipc_us_sock_error_is_disconnected(int err)
#ifdef EWOULDBLOCK
err == -EWOULDBLOCK ||
#endif
err == -EMSGSIZE ||
err == -ENOMSG ||
err == -EINVAL) {
return QB_FALSE;
}