]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Ensure NFSv4 SETCLIENTID send buffer is large enough
authorChuck Lever <chuck.lever@oracle.com>
Mon, 10 Dec 2007 19:56:54 +0000 (14:56 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:05:51 +0000 (02:05 -0500)
commit4c13839521fce1ea3087b67e4b3c74a73b4dad3d
tree971f0653619e9068408d2938af37147f7448a53d
parent18c78f22256ada9650dbd1564caec3e3cced9dc4
NFS: Ensure NFSv4 SETCLIENTID send buffer is large enough

Ensure that the RPC buffer size specified for NFSv4 SETCLIENTID procedures
matches what we are encoding into the buffer.  See the definition of
struct nfs4_setclientid {} and the encode_setclientid() function.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4xdr.c
include/linux/nfs_xdr.h