SUNRPC: add support for IPv6 to the kernel's rpcbind client
authorChuck Lever <chuck.lever@oracle.com>
Mon, 6 Aug 2007 15:57:18 +0000 (11:57 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 9 Oct 2007 21:16:02 +0000 (17:16 -0400)
commitd5b6443014940eb83788161c69b17cb7a1ffaaed
tree36ff07511b2c5548bb1e76298aa6050b7515ccee
parent4b6473fba4e832ee1d15737bc38779501c349a61
SUNRPC: add support for IPv6 to the kernel's rpcbind client

Prepare for adding IPv6 support to the RPC client by adding IPv6
capabilities to rpcbind.  Note that this is support on the query side
only; registering IPv6 addresses with the local portmapper will come
later.

Note we have to take care not to fall back to using version 2 of the
rpcbind protocol if we're dealing with IPv6 address.  Version 2 doesn't
support IPv6 at all.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/rpcb_clnt.c