]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
SUNRPC: Prevent mixed sign comparisons in rpcrdma_convert_iovs()
authorChuck Lever <chuck.lever@oracle.com>
Fri, 26 Oct 2007 17:30:43 +0000 (13:30 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:05:41 +0000 (02:05 -0500)
commit2a428b2b8fe2c270a5889086ebe3ab914e3ea7d8
treecdd7494963b363fd71bd9c804db24b28bf7c5232
parentc087567d3ffb2c7c61e091982e6ca45478394f1a
SUNRPC: Prevent mixed sign comparisons in rpcrdma_convert_iovs()

Keep the type of the buffer position the same during iovec conversion to
reduce the likelihood of unexpected results from comparisons and length
computations.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Cc: Thomas Talpey <Thomas.Talpey@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprtrdma/rpc_rdma.c