NFS: Use unsigned intermediates for manipulating header lengths (NFSv2 XDR)
authorChuck Lever <chuck.lever@oracle.com>
Fri, 26 Oct 2007 17:31:52 +0000 (13:31 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:05:44 +0000 (02:05 -0500)
commit6232dbbcffc617a5a47596b2ec347b24dc2dd2fd
tree2ebfdeaef4df7751a47dfaa4b200efd61303198b
parent8a8c74bf94fcdec058062d331b3d9777910778ab
NFS: Use unsigned intermediates for manipulating header lengths (NFSv2 XDR)

Clean up: prevent length underflow and mixed sign comparisons when
unmarshalling NFS version 2 read, readdir, and readlink replies.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs2xdr.c