summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rpc/rpc-transport/socket/src/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/rpc-transport/socket/src/socket.c b/rpc/rpc-transport/socket/src/socket.c
index a336751b589..af496ffc8e2 100644
--- a/rpc/rpc-transport/socket/src/socket.c
+++ b/rpc/rpc-transport/socket/src/socket.c
@@ -2505,7 +2505,7 @@ socket_poller (void *ctx)
"poll error on socket");
break;
}
- if (ret < 0) {
+ if (ret < 0 && errno != ENODATA) {
gf_log(this->name,GF_LOG_ERROR,
"error in polling loop");
break;