Skip to content

Commit

Permalink
IPC: don't interpret EMSGSIZE and ENOMSG as a disconnect
Browse files Browse the repository at this point in the history
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
  • Loading branch information
asalkeld committed Feb 18, 2013
1 parent 3d77748 commit 481bd0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ipc_setup.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 481bd0c

Please sign in to comment.