summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/protocol/client')
-rw-r--r--xlators/protocol/client/src/client-handshake.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/protocol/client/src/client-handshake.c b/xlators/protocol/client/src/client-handshake.c
index 26aabfeec70..c56294c83be 100644
--- a/xlators/protocol/client/src/client-handshake.c
+++ b/xlators/protocol/client/src/client-handshake.c
@@ -1070,13 +1070,14 @@ client_query_portmap_cbk (struct rpc_req *req, struct iovec *iov, int count, voi
config.remote_port = rsp.port;
rpc_clnt_reconfig (conf->rpc, &config);
+ conf->skip_notify = 1;
out:
if (frame)
STACK_DESTROY (frame->root);
if (conf) {
- conf->skip_notify = 1;
+
rpc_transport_disconnect (conf->rpc->conn.trans);
rpc_clnt_reconnect (conf->rpc->conn.trans);