OpenSolaris

Printable Version Enter a New Search
Bug ID 6541799
Synopsis nfsv4 server should be open-minded about future minorversions
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:nfsv4
Keywords rtiq_reviewed
Responsible Engineer Siddheshwar Mahesh
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_70
Fixed In snv_70
Release Fixed solaris_nevada(snv_70)
Related Bugs
Submit Date 2-April-2007
Last Update Date 28-December-2007
Description
The current NFSv4 server fails to decode NFSv4 minor version 1 requests
and impolitely returns RPC status of GARBAGE_ARGS back to the client. 
A more gentle way that allows for minorversion negotiation is to return
NFS4ERR_MINOR_VERS_MISMATCH, allowing the client to retry with a lower
minor version. 

While there are parts of code like in rfs4_compound() which does just that, it is too 
far down the path to be effective. It should also be taken care in common_dispatch() 
when SVC_GETARGS() fails. SVC_GETARGS() fails because  xdr_COMPOUND4args_srv() and
friends like xdr_snfs_argop4() and xdr_nfs_argop4() cannot handle future minor version 
specific operations.
Work Around
N/A
Comments
N/A