提交 044bc1d4 编写于 作者: J J. Bruce Fields

nfsd4: return serverfault on request for ssv

We're refusing to support a mandatory features of 4.1, so serverfault
seems the better error; see e.g.:

	http://www.ietf.org/mail-archive/web/nfsv4/current/msg07638.htmlSigned-off-by: NJ. Bruce Fields <bfields@redhat.com>
上级 5afa040b
...@@ -1344,7 +1344,7 @@ nfsd4_exchange_id(struct svc_rqst *rqstp, ...@@ -1344,7 +1344,7 @@ nfsd4_exchange_id(struct svc_rqst *rqstp,
case SP4_NONE: case SP4_NONE:
break; break;
case SP4_SSV: case SP4_SSV:
return nfserr_encr_alg_unsupp; return nfserr_serverfault;
default: default:
BUG(); /* checked by xdr code */ BUG(); /* checked by xdr code */
case SP4_MACH_CRED: case SP4_MACH_CRED:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册