SUNRPC: rpcb_getport_sync() passes incorrect address size to rpc_create()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 14 Jan 2008 20:12:08 +0000 (15:12 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:06:09 +0000 (02:06 -0500)
commitafc881124b8aff83c7a28269ef9d9cfce543256c
tree856e5196fb781622b21a1c3834f0bea1f0d09137
parent67d60213627ec4391cc402bf95753eefde8522af
SUNRPC: rpcb_getport_sync() passes incorrect address size to rpc_create()

The variable "sin" is a pointer, so sizeof(sin) is the size of a pointer,
not the size of thing that sin points to.

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