summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/rpc')
-rw-r--r--usr/src/uts/common/rpc/clnt_clts.c2
-rw-r--r--usr/src/uts/common/rpc/clnt_cots.c5
2 files changed, 6 insertions, 1 deletions
diff --git a/usr/src/uts/common/rpc/clnt_clts.c b/usr/src/uts/common/rpc/clnt_clts.c
index e42d15644f..b4386df80c 100644
--- a/usr/src/uts/common/rpc/clnt_clts.c
+++ b/usr/src/uts/common/rpc/clnt_clts.c
@@ -2210,6 +2210,8 @@ done_xid_copy:
if (e->call_zoneid != zoneid) {
mutex_exit(&e->call_lock);
mutex_exit(&chtp->ct_lock);
+ RPCLOG0(8, "clnt_dispatch_notify (clts): incorrect "
+ "zoneid\n");
freemsg(mp);
return;
}
diff --git a/usr/src/uts/common/rpc/clnt_cots.c b/usr/src/uts/common/rpc/clnt_cots.c
index 85874c885a..08e02ad74a 100644
--- a/usr/src/uts/common/rpc/clnt_cots.c
+++ b/usr/src/uts/common/rpc/clnt_cots.c
@@ -2667,8 +2667,10 @@ connmgr_connect(
e->call_status = RPC_INTR;
else if (error == ETIME)
e->call_status = RPC_TIMEDOUT;
- else if (error == EPROTO)
+ else if (error == EPROTO) {
e->call_status = RPC_SYSTEMERROR;
+ e->call_reason = EPROTO;
+ }
RPCLOG(8, "connmgr_connect: can't connect, status: "
"%s\n", clnt_sperrno(e->call_status));
@@ -3022,6 +3024,7 @@ done_xid_copy:
if (e->call_zoneid != zoneid) {
mutex_exit(&e->call_lock);
mutex_exit(&chtp->ct_lock);
+ RPCLOG0(1, "clnt_dispatch_notify: incorrect zoneid\n");
return (FALSE);
}