SUNRPC: Make rpcb_decode_getaddr more picky about universal addresses
authorChuck Lever <chuck.lever@oracle.com>
Tue, 11 Sep 2007 22:00:31 +0000 (18:00 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 9 Oct 2007 21:16:48 +0000 (17:16 -0400)
commite65fe3976f594603ed7b1b4a99d3e9b867f573ea
treebacc7a15719862f3d9dd9441451dc80edad57afb
parentd66968f207b6402fd12c20145cb31dbe3608979c
SUNRPC: Make rpcb_decode_getaddr more picky about universal addresses

Add better sanity checking of server replies to the GETVERSADDR reply
decoder.  Change the error return code: EIO is what other XDR decoding
routines return if there is a failure while decoding.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/rpcb_clnt.c