diff options
| author | Gerald Thornbrugh <Gerald.Thornbrugh@Sun.COM> | 2009-06-05 14:43:55 -0600 |
|---|---|---|
| committer | Gerald Thornbrugh <Gerald.Thornbrugh@Sun.COM> | 2009-06-05 14:43:55 -0600 |
| commit | 8c3630f02a18afdf1f202bc49d76c38f3cce1371 (patch) | |
| tree | 8067d3f198e6ab0e3800c405be146f8d54a4fb92 /usr/src/uts/common/rpc | |
| parent | ed629aef897f4494e9359e52811ca81d4b278489 (diff) | |
| download | illumos-joyent-8c3630f02a18afdf1f202bc49d76c38f3cce1371.tar.gz | |
6523693 mountd core dump in nfsauth_prog on S10 (and onnv)
6839714 mountd may leak netbuf's
6834333 ASSERT(p->cku_err.re_errno != 0) in clnt_cots_kcallit() triggers because re_error is not set
6704490 clnt_dispatch_notify() and clnt_clts_dispatch_notify() should log zoneid errors
Diffstat (limited to 'usr/src/uts/common/rpc')
| -rw-r--r-- | usr/src/uts/common/rpc/clnt_clts.c | 2 | ||||
| -rw-r--r-- | usr/src/uts/common/rpc/clnt_cots.c | 5 |
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); } |
