aboutsummaryrefslogtreecommitdiff
path: root/sunrpc
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@systemhalted.org>2014-08-10 10:01:43 -0400
committerMike Frysinger <vapier@gentoo.org>2014-08-10 10:01:43 -0400
commit9559080132dcd991176e5eb48604405e610534d1 (patch)
treeef7693c6b9302e3dc3f2729fb042478e94f471d5 /sunrpc
parent7aaf74a47f7a851329eda4c1e39c9074e2e9e18f (diff)
downloadglibc-gentoo/2.19.zip
glibc-gentoo/2.19.tar.gz
glibc-gentoo/2.19.tar.bz2
nptl: handle EAGAIN with some futex operationsgentoo/2.19
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/clnt_udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/clnt_udp.c b/sunrpc/clnt_udp.c
index 1b6a20b..41ac54b 100644
--- a/sunrpc/clnt_udp.c
+++ b/sunrpc/clnt_udp.c
@@ -463,7 +463,7 @@ send_again:
while (inlen < 0 && errno == EINTR);
if (inlen < 0)
{
- if (errno == EWOULDBLOCK)
+ if (errno == EWOULDBLOCK || errno == EAGAIN)
continue;
cu->cu_error.re_errno = errno;
return (cu->cu_error.re_status = RPC_CANTRECV);