commit | 510deb0d7035d4fd465627deb3a119ca854f9e00 | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Mon Dec 10 14:56:24 2007 -0500 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Wed Jan 30 02:05:49 2008 -0500 |
tree | ffc7af675601c88ef8843ddb5a64db8b8da7ee91 | |
parent | 40c553193df41920de659f0446e5d214c862e827 [diff] |
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>