SUNRPC: Prevent length underflow in read_flush()
authorChuck Lever <chuck.lever@oracle.com>
Fri, 26 Oct 2007 17:31:20 +0000 (13:31 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 1 Feb 2008 21:42:02 +0000 (16:42 -0500)
commit01b2969a8528b926f5e4d98161ae37053234475c
tree942fbf141743721476a3d79aa7b920ab9e72910f
parentd4395e03fec0895d01451904b8a2276ceda663c9
SUNRPC: Prevent length underflow in read_flush()

Make sure we compare an unsigned length to an unsigned count in
read_flush().

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
net/sunrpc/cache.c