diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2007-12-10 20:56:24 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-01-30 08:05:49 +0100 |
commit | 510deb0d7035d4fd465627deb3a119ca854f9e00 (patch) | |
tree | ffc7af675601c88ef8843ddb5a64db8b8da7ee91 /net/irda/irnet | |
parent | NFS: Remove the redundant nfs_client->cl_nfsversion (diff) | |
download | linux-510deb0d7035d4fd465627deb3a119ca854f9e00.tar.xz linux-510deb0d7035d4fd465627deb3a119ca854f9e00.zip |
SUNRPC: rpc_create() default hostname should support AF_INET6 addresses
If the ULP doesn't pass a hostname string to rpc_create(), it manufactures
one based on the passed-in address. Be smart enough to handle an AF_INET6
address properly in this case.
Move the default servername logic before the xprt_create_transport() call
to simplify error handling in rpc_create().
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/irda/irnet')
0 files changed, 0 insertions, 0 deletions