From: Chuck Lever Date: Mon, 10 Dec 2007 19:56:24 +0000 (-0500) Subject: SUNRPC: rpc_create() default hostname should support AF_INET6 addresses X-Git-Tag: v2.6.25-rc1~1146^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=510deb0d7035d4fd465627deb3a119ca854f9e00;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed