diff options
| author | Jeff Layton <jlayton@kernel.org> | 2026-07-10 10:00:11 -0400 |
|---|---|---|
| committer | Chuck Lever <cel@kernel.org> | 2026-08-10 09:54:35 -0400 |
| commit | 45b06a75086f331f52cbb81223a59421d43f8809 (patch) | |
| tree | e6b4fc1df4237dd13b803a48862bec43e01b4efe /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 3b0c3595db99bb4bebd7c8aa8a36f3c50e411bb7 (diff) | |
nfsd: return NFS4ERR_NOTSUPP for unsupported netloc4 types
nfsd4_decode_nl4_server() handled only NL4_NETADDR and returned
nfserr_bad_xdr for NL4_NAME and NL4_URL. Those forms are well-formed XDR,
so BADXDR is misleading -- the request is unsupported, not malformed.
Decode and discard the utf8str_cis for NL4_NAME and NL4_URL to keep the
stream consistent, and return nfserr_notsupp. nfsd4_proc_compound() honors
a decode-time op->status, so the op fails without executing.
Fixes: 84e1b21d5ec4 ("NFSD add ca_source_server<> to COPY")
Cc: stable@vger.kernel.org
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Link: https://patch.msgid.link/20260710-nfsd-testing-v3-7-a0ff7db6aa3e@kernel.org
Signed-off-by: Chuck Lever <cel@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
