diff options
-rw-r--r-- | rpc/rpc-transport/rdma/src/rdma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/rpc-transport/rdma/src/rdma.c b/rpc/rpc-transport/rdma/src/rdma.c index e18702ab74a..8084a86e92b 100644 --- a/rpc/rpc-transport/rdma/src/rdma.c +++ b/rpc/rpc-transport/rdma/src/rdma.c @@ -4471,7 +4471,7 @@ rdma_event_handler (int fd, int idx, void *data, ret = rdma_handshake_pollout (this); } - if (!ret && poll_in && priv->tcp_connected) { + if (!ret && !poll_err && poll_in && priv->tcp_connected) { if (priv->handshake.incoming.state == RDMA_HANDSHAKE_COMPLETE) { gf_log (RDMA_LOG_NAME, GF_LOG_ERROR, "%s: pollin received on tcp socket (peer: %s) " |