summaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'rpc')
-rw-r--r--rpc/rpc-transport/rdma/src/rdma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/rpc-transport/rdma/src/rdma.c b/rpc/rpc-transport/rdma/src/rdma.c
index 19f6a25a8e9..2ea787cab4c 100644
--- a/rpc/rpc-transport/rdma/src/rdma.c
+++ b/rpc/rpc-transport/rdma/src/rdma.c
@@ -4253,11 +4253,11 @@ rdma_handshake_pollerr (rpc_transport_t *this)
}
pthread_mutex_unlock (&priv->write_mutex);
-/* xlator_notify (this->xl, GF_EVENT_POLLERR, this, NULL); */
-
if (need_unref)
rpc_transport_unref (this);
+ rpc_transport_notify (this, RPC_TRANSPORT_DISCONNECT, this);
+
return 0;
}